forked from github/dataease
Merge pull request #5715 from dataease/pr@dev@fix_panel-tab
fix(仪表板): 修复选项卡后面没有展开的tab页没有加载导致无法过滤的问题
This commit is contained in:
commit
f0a7ff88b3
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user