diff --git a/core/core-frontend/mobile.html b/core/core-frontend/mobile.html new file mode 100644 index 0000000000..a0901557f2 --- /dev/null +++ b/core/core-frontend/mobile.html @@ -0,0 +1,13 @@ + + + + + + + DataEase + + +
+ + + diff --git a/core/core-frontend/package.json b/core/core-frontend/package.json index 349dcd2bcd..206bee11a5 100644 --- a/core/core-frontend/package.json +++ b/core/core-frontend/package.json @@ -42,6 +42,7 @@ "qs": "^6.11.0", "snowflake-id": "^1.1.0", "tinymce": "^5.8.2", + "vant": "^4.8.2", "vue": "^3.3.4", "vue-clipboard3": "^2.0.0", "vue-codemirror": "^6.1.1", diff --git a/core/core-frontend/src/components/dashboard/DbToolbar.vue b/core/core-frontend/src/components/dashboard/DbToolbar.vue index bcdab267b6..13068f522a 100644 --- a/core/core-frontend/src/components/dashboard/DbToolbar.vue +++ b/core/core-frontend/src/components/dashboard/DbToolbar.vue @@ -182,6 +182,10 @@ const multiplexingCanvasOpen = () => { multiplexingRef.value.dialogInit() } +const mobileConfig = () => { + useEmitt().emitter.emit('mobileConfig') +} + eventBus.on('preview', previewInner) eventBus.on('save', saveCanvasWithCheck) eventBus.on('clearCanvas', clearCanvas) @@ -417,6 +421,12 @@ onMounted(() => { is-label @customClick="multiplexingCanvasOpen" > + diff --git a/core/core-frontend/src/components/visualization/ComponentEditBar.vue b/core/core-frontend/src/components/visualization/ComponentEditBar.vue index 7dc1584f4c..41c658f775 100644 --- a/core/core-frontend/src/components/visualization/ComponentEditBar.vue +++ b/core/core-frontend/src/components/visualization/ComponentEditBar.vue @@ -1,6 +1,7 @@