From 0743b9ae85a65de00d58c59fbf325585f2cd4329 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 11 Aug 2022 12:56:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E4=BB=AA=E8=A1=A8=E7=89=88):=20?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E7=89=88=E7=BC=96=E8=BE=91=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=8C=BA=E5=AF=B9=E6=B2=A1=E6=9C=89=E7=82=B9=E5=87=BB=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E8=A7=86=E5=9B=BE=E9=9A=90=E8=97=8F=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E8=AE=BE=E7=BD=AE=E5=92=8C=E8=81=94=E5=8A=A8=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canvas/components/Editor/SettingMenu.vue | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/canvas/components/Editor/SettingMenu.vue b/frontend/src/components/canvas/components/Editor/SettingMenu.vue index a2ba3c6db2..899ee824f0 100644 --- a/frontend/src/components/canvas/components/Editor/SettingMenu.vue +++ b/frontend/src/components/canvas/components/Editor/SettingMenu.vue @@ -56,6 +56,24 @@ export default { components: { HyperlinksDialog }, data() { return { + jumpExcludeViewType: [ + 'richTextView', + 'liquid', + 'gauge', + 'text', + 'label', + 'word-cloud', + 'table-pivot' + ], + linkageExcludeViewType: [ + 'richTextView', + 'liquid', + 'gauge', + 'text', + 'label', + 'word-cloud', + 'table-pivot' + ], copyData: null, hyperlinksSetVisible: false, editFilter: [ @@ -67,10 +85,10 @@ export default { }, computed: { linkJumpSetShow() { - return this.curComponent.type === 'view' && this.curComponent.propValue.innerType !== 'richTextView' + return this.curComponent.type === 'view' && !this.jumpExcludeViewType.includes(this.curComponent.propValue.innerType) }, linkageSettingShow() { - return this.curComponent.type === 'view' && this.curComponent.propValue.innerType !== 'richTextView' + return this.curComponent.type === 'view' && !this.linkageExcludeViewType.includes(this.curComponent.propValue.innerType) }, panelInfo() { return this.$store.state.panel.panelInfo