Merge pull request #6065 from dataease/pr@dev@fix_panel-filter-init

fix(仪表板): 修复Tab组件中的过滤组件设置默认值不生效问题 #5795
This commit is contained in:
王嘉豪
2023-09-07 16:32:02 +08:00
committed by GitHub

View File

@@ -361,7 +361,7 @@ export default {
computed: {
// 首次加载且非编辑状态新复制的视图使用外部filter
initLoad() {
return !(this.isEdit && this.currentCanvasNewId.includes(this.element.id)) && this.isFirstLoad && this.canvasId === 'canvas-main'
return !(this.isEdit && this.currentCanvasNewId.includes(this.element.id)) && this.isFirstLoad
},
scaleCoefficient() {
if (this.terminal === 'pc' && !this.mobileLayoutStatus) {