forked from github/dataease
fix(仪表板): 修复Tab组件中的过滤组件设置默认值不生效问题 #5795
This commit is contained in:
parent
a32937287e
commit
a4f6265c65
@ -361,7 +361,7 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
// 首次加载且非编辑状态新复制的视图,使用外部filter
|
// 首次加载且非编辑状态新复制的视图,使用外部filter
|
||||||
initLoad() {
|
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() {
|
scaleCoefficient() {
|
||||||
if (this.terminal === 'pc' && !this.mobileLayoutStatus) {
|
if (this.terminal === 'pc' && !this.mobileLayoutStatus) {
|
||||||
|
Loading…
Reference in New Issue
Block a user