fix(仪表板): 修复Tab组件中的过滤组件设置默认值不生效问题 #5795

This commit is contained in:
wangjiahao 2023-09-07 16:30:12 +08:00
parent a32937287e
commit a4f6265c65

View File

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