Merge pull request #6366 from dataease/pr@dev@fix_tab-filter

fix(仪表板): 修复过滤组件无法过滤Tab组件未加载的Tab页问题
This commit is contained in:
王嘉豪 2023-10-25 18:11:52 +08:00 committed by GitHub
commit 99d7de4dfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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