forked from github/dataease
refactor(仪表版): 仪表版编辑按钮区对没有点击事件的视图隐藏跳转设置和联动设置选项
This commit is contained in:
parent
7eb4b1a6ba
commit
0743b9ae85
@ -56,6 +56,24 @@ export default {
|
|||||||
components: { HyperlinksDialog },
|
components: { HyperlinksDialog },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
jumpExcludeViewType: [
|
||||||
|
'richTextView',
|
||||||
|
'liquid',
|
||||||
|
'gauge',
|
||||||
|
'text',
|
||||||
|
'label',
|
||||||
|
'word-cloud',
|
||||||
|
'table-pivot'
|
||||||
|
],
|
||||||
|
linkageExcludeViewType: [
|
||||||
|
'richTextView',
|
||||||
|
'liquid',
|
||||||
|
'gauge',
|
||||||
|
'text',
|
||||||
|
'label',
|
||||||
|
'word-cloud',
|
||||||
|
'table-pivot'
|
||||||
|
],
|
||||||
copyData: null,
|
copyData: null,
|
||||||
hyperlinksSetVisible: false,
|
hyperlinksSetVisible: false,
|
||||||
editFilter: [
|
editFilter: [
|
||||||
@ -67,10 +85,10 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
linkJumpSetShow() {
|
linkJumpSetShow() {
|
||||||
return this.curComponent.type === 'view' && this.curComponent.propValue.innerType !== 'richTextView'
|
return this.curComponent.type === 'view' && !this.jumpExcludeViewType.includes(this.curComponent.propValue.innerType)
|
||||||
},
|
},
|
||||||
linkageSettingShow() {
|
linkageSettingShow() {
|
||||||
return this.curComponent.type === 'view' && this.curComponent.propValue.innerType !== 'richTextView'
|
return this.curComponent.type === 'view' && !this.linkageExcludeViewType.includes(this.curComponent.propValue.innerType)
|
||||||
},
|
},
|
||||||
panelInfo() {
|
panelInfo() {
|
||||||
return this.$store.state.panel.panelInfo
|
return this.$store.state.panel.panelInfo
|
||||||
|
Loading…
Reference in New Issue
Block a user