Unverified 提交 556cd551 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw 提交者: GitHub

Merge pull request #2333 from dataease/pr@dev@fix_tabs

fix: tabs选项卡不能选择视图
......@@ -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'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论