Merge pull request #12409 from dataease/pr@dev@fix_pivot_export

fix(视图): 透视表带格式导出条件判断错误
This commit is contained in:
wisonic-s 2024-09-24 16:32:39 +08:00 committed by GitHub
commit 6f50792256
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -314,6 +314,7 @@ export default {
hasDataPermission('export', this.$store.state.panel.panelInfo.privileges) &&
this.chart &&
this.chart.dataFrom !== 'template' &&
this.chart.type === 'table-pivot' &&
JSON.parse(this.chart.customAttr).size?.tableLayoutMode !== 'tree'
},
enlargeShow() {