forked from github/dataease
Merge pull request #4340 from dataease/pr@dev@fix_edit-bar
fix(仪表板): 修复仪表板制作页面使用撤销操作后视图的操作列表消失问题 #4335
This commit is contained in:
commit
1380585e5d
@ -278,16 +278,16 @@ export default {
|
|||||||
return JSON.parse(this.chart.yaxis)
|
return JSON.parse(this.chart.yaxis)
|
||||||
},
|
},
|
||||||
showMapLayerController() {
|
showMapLayerController() {
|
||||||
return this.curComponent.type === 'view' && this.terminal === 'pc' && this.curComponent.propValue.innerType === 'map' && this.yaxis.length > 1
|
return this.curComponent.type === 'view' && this.terminal === 'pc' && this.curComponent.propValue.innerType && this.curComponent.propValue.innerType === 'map' && this.yaxis.length > 1
|
||||||
},
|
},
|
||||||
detailsShow() {
|
detailsShow() {
|
||||||
return this.curComponent.type === 'view' && this.terminal === 'pc' && this.curComponent.propValue.innerType !== 'richTextView'
|
return this.curComponent.type === 'view' && this.terminal === 'pc' && this.curComponent.propValue.innerType && this.curComponent.propValue.innerType !== 'richTextView'
|
||||||
},
|
},
|
||||||
enlargeShow() {
|
enlargeShow() {
|
||||||
return this.curComponent.type === 'view' && this.curComponent.propValue.innerType !== 'richTextView' && !this.curComponent.propValue.innerType.includes('table')
|
return this.curComponent.type === 'view' && this.curComponent.propValue.innerType && this.curComponent.propValue.innerType !== 'richTextView' && !this.curComponent.propValue.innerType.includes('table')
|
||||||
},
|
},
|
||||||
selectFieldShow() {
|
selectFieldShow() {
|
||||||
return this.activeModel === 'edit' && this.curComponent.type === 'view' && this.curComponent.propValue.innerType === 'richTextView' && this.curComponent.editing
|
return this.activeModel === 'edit' && this.curComponent.type === 'view' && this.curComponent.propValue.innerType && this.curComponent.propValue.innerType === 'richTextView' && this.curComponent.editing
|
||||||
},
|
},
|
||||||
curComponentTypes() {
|
curComponentTypes() {
|
||||||
const types = []
|
const types = []
|
||||||
|
Loading…
Reference in New Issue
Block a user