From e225a60b95cdb211b9e28cfedf740a5a72e507cb Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 3 Jan 2023 17:26:33 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=98=8E=E7=BB=86=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E7=AD=89=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canvas/components/editor/EditBar.vue | 2 +- .../canvas/components/editor/Preview.vue | 3 + .../src/components/dataease/DeOutWidget.vue | 2 +- .../src/views/panel/grantAuth/ShareTree.vue | 89 +++++++++---------- frontend/src/views/panel/list/PanelMain.vue | 2 +- .../src/views/panel/list/PanelViewShow.vue | 4 +- 6 files changed, 52 insertions(+), 50 deletions(-) diff --git a/frontend/src/components/canvas/components/editor/EditBar.vue b/frontend/src/components/canvas/components/editor/EditBar.vue index 7c7e833cc5..81bfd83253 100644 --- a/frontend/src/components/canvas/components/editor/EditBar.vue +++ b/frontend/src/components/canvas/components/editor/EditBar.vue @@ -284,7 +284,7 @@ export default { return this.curComponent.type === 'view' && this.terminal === 'pc' && this.curComponent.propValue.innerType !== 'richTextView' }, enlargeShow() { - return this.curComponent.type === 'view' && this.curComponent.propValue.innerType !== 'richTextView' + return this.curComponent.type === 'view' && this.curComponent.propValue.innerType !== 'richTextView' && !this.curComponent.propValue.innerType.includes('table') }, selectFieldShow() { return this.activeModel === 'edit' && this.curComponent.type === 'view' && this.curComponent.propValue.innerType === 'richTextView' && this.curComponent.editing diff --git a/frontend/src/components/canvas/components/editor/Preview.vue b/frontend/src/components/canvas/components/editor/Preview.vue index a94c23d16a..49a752d6bd 100644 --- a/frontend/src/components/canvas/components/editor/Preview.vue +++ b/frontend/src/components/canvas/components/editor/Preview.vue @@ -287,6 +287,9 @@ export default { return this.$store.state.panel.mainActiveName }, showUnpublishedArea() { + if (this.canvasId !== 'canvas-main') { + return false + } if (this.showPosition === 'edit') { return false } else if (this.panelInfo && this.panelInfo.showType === 'view') { diff --git a/frontend/src/components/dataease/DeOutWidget.vue b/frontend/src/components/dataease/DeOutWidget.vue index c338e428ad..cd7e6134b6 100644 --- a/frontend/src/components/dataease/DeOutWidget.vue +++ b/frontend/src/components/dataease/DeOutWidget.vue @@ -226,7 +226,7 @@ export default { .condition-main { position: absolute; - overflow: auto; + overflow: hidden; top: 0px; right: 0px; bottom: 0px; diff --git a/frontend/src/views/panel/grantAuth/ShareTree.vue b/frontend/src/views/panel/grantAuth/ShareTree.vue index 88955c5479..9c8aa89596 100644 --- a/frontend/src/views/panel/grantAuth/ShareTree.vue +++ b/frontend/src/views/panel/grantAuth/ShareTree.vue @@ -93,7 +93,7 @@ diff --git a/frontend/src/views/panel/list/PanelMain.vue b/frontend/src/views/panel/list/PanelMain.vue index d04d24deb1..811b75fd17 100644 --- a/frontend/src/views/panel/list/PanelMain.vue +++ b/frontend/src/views/panel/list/PanelMain.vue @@ -79,7 +79,7 @@ export default { } }, activeName: function(newVal, oldVal) { - if (newVal !== 'PanelMain') { + if (newVal !== 'PanelList') { this.clear() } } diff --git a/frontend/src/views/panel/list/PanelViewShow.vue b/frontend/src/views/panel/list/PanelViewShow.vue index 671b63ae69..e5e5bc15b9 100644 --- a/frontend/src/views/panel/list/PanelViewShow.vue +++ b/frontend/src/views/panel/list/PanelViewShow.vue @@ -17,7 +17,7 @@ style="border-bottom: 1px solid;border-bottom-color:#E6E6E6;" >
- +
- +