mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 03:52:59 +08:00
fix: tabs选项卡不能选择视图
This commit is contained in:
parent
75c1bc62cc
commit
ade22509ec
@ -308,10 +308,10 @@ export default {
|
||||
return this.outStyle.width * this.outStyle.height
|
||||
},
|
||||
resultMode() {
|
||||
return this.canvasStyleData.panel.resultMode
|
||||
return this.canvasStyleData.panel && this.canvasStyleData.panel.resultMode || null
|
||||
},
|
||||
resultCount() {
|
||||
return this.canvasStyleData.panel.resultCount
|
||||
return this.canvasStyleData.panel && this.canvasStyleData.panel.resultCount || null
|
||||
},
|
||||
innerPadding() {
|
||||
return this.element.commonBackground && this.element.commonBackground.innerPadding || 0
|
||||
|
@ -79,6 +79,7 @@
|
||||
:element="item.content"
|
||||
:filters="filterMap[item.content.propValue && item.content.propValue.viewId] || []"
|
||||
:out-style="outStyle"
|
||||
:canvas-style-data="canvasStyleData"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@ -233,7 +234,8 @@ export default {
|
||||
...mapState([
|
||||
'componentData',
|
||||
'curComponent',
|
||||
'mobileLayoutStatus'
|
||||
'mobileLayoutStatus',
|
||||
'canvasStyleData'
|
||||
]),
|
||||
fontColor() {
|
||||
return this.element && this.element.style && this.element.style.headFontColor || 'none'
|
||||
|
Loading…
Reference in New Issue
Block a user