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

This commit is contained in:
wangjiahao 2023-07-20 12:57:56 +08:00
parent c6e6ad614b
commit 717c44dca6

View File

@ -360,7 +360,7 @@ export default {
computed: { computed: {
// 使filter // 使filter
initLoad() { initLoad() {
return !(this.isEdit && this.currentCanvasNewId.includes(this.element.id)) && this.isFirstLoad return !(this.isEdit && this.currentCanvasNewId.includes(this.element.id)) && this.isFirstLoad && !this.inTab
}, },
scaleCoefficient() { scaleCoefficient() {
if (this.terminal === 'pc' && !this.mobileLayoutStatus) { if (this.terminal === 'pc' && !this.mobileLayoutStatus) {