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
commit f0a7ff88b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 && !this.inTab return !(this.isEdit && this.currentCanvasNewId.includes(this.element.id)) && this.isFirstLoad && this.canvasId === 'canvas-main'
}, },
scaleCoefficient() { scaleCoefficient() {
if (this.terminal === 'pc' && !this.mobileLayoutStatus) { if (this.terminal === 'pc' && !this.mobileLayoutStatus) {