fix(仪表板): 修复过滤组件无法过滤Tab组件未加载的Tab页问题

This commit is contained in:
wangjiahao 2023-10-25 18:08:31 +08:00
parent aae21eb3ab
commit 2aca368772

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