Merge pull request #6366 from dataease/pr@dev@fix_tab-filter

fix(仪表板): 修复过滤组件无法过滤Tab组件未加载的Tab页问题
This commit is contained in:
王嘉豪
2023-10-25 18:11:52 +08:00
committed by GitHub

View File

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