fix(仪表板): 修复选项卡后面没有展开的tab页没有加载导致无法过滤的问题

This commit is contained in:
wangjiahao 2023-07-20 13:18:25 +08:00
parent 717c44dca6
commit 717c3ab7e9

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) {