Merge pull request #5715 from dataease/pr@dev@fix_panel-tab

fix(仪表板): 修复选项卡后面没有展开的tab页没有加载导致无法过滤的问题
This commit is contained in:
王嘉豪
2023-07-20 13:19:10 +08:00
committed by GitHub

View File

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