forked from github/dataease
Merge pull request #3225 from dataease/pr@dev@refactor_echarts-table
refactor: 屏蔽echarts表格联动和跳转设置入口
This commit is contained in:
commit
742ba72996
@ -83,10 +83,14 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
linkJumpSetShow() {
|
||||
return this.curComponent.type === 'view' && !this.jumpExcludeViewType.includes(this.curComponent.propValue.innerType)
|
||||
return this.curComponent.type === 'view'
|
||||
&& !this.jumpExcludeViewType.includes(this.curComponent.propValue.innerType)
|
||||
&& !(this.curComponent.propValue.innerType.includes('table') && this.curComponent.propValue.render === 'echarts')
|
||||
},
|
||||
linkageSettingShow() {
|
||||
return this.curComponent.type === 'view' && !this.linkageExcludeViewType.includes(this.curComponent.propValue.innerType)
|
||||
return this.curComponent.type === 'view'
|
||||
&& !this.linkageExcludeViewType.includes(this.curComponent.propValue.innerType)
|
||||
&& !(this.curComponent.propValue.innerType.includes('table') && this.curComponent.propValue.render === 'echarts')
|
||||
},
|
||||
panelInfo() {
|
||||
return this.$store.state.panel.panelInfo
|
||||
|
@ -680,6 +680,7 @@ export default {
|
||||
}
|
||||
}
|
||||
Vue.set(this.element.propValue, 'innerType', chartDetails.type)
|
||||
Vue.set(this.element.propValue, 'render', chartDetails.render)
|
||||
if (chartDetails.type === 'richTextView') {
|
||||
this.$nextTick(() => {
|
||||
bus.$emit('initCurFields-' + this.element.id)
|
||||
|
Loading…
Reference in New Issue
Block a user