perf: model-panel调整
1.修复顶部工具栏遮挡panel的问题; 2.model-panel图标更换; 3.修复panel resize后滚动条不对的问题;
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
</template>
|
||||
|
||||
<!-- model-panel/asset-detail/project-overview的panel-->
|
||||
<panel-tab v-if="from == 'model' && targetTab == 'panel'" v-show="subResizeShow" :from="from" :obj="obj"></panel-tab>
|
||||
<panel-tab v-if="from == 'model' && targetTab == 'panel'" v-show="subResizeShow" :from="from" :obj="obj" ref="panelTab"></panel-tab>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
@@ -102,6 +102,9 @@
|
||||
if (this.from == 'endpoint' && this.targetTab == 'endpointQuery') {
|
||||
this.$refs.endpointQuery.tableReload();
|
||||
}
|
||||
if (this.from == 'model') {
|
||||
setTimeout(() => {this.$refs.panelTab.$refs.dashboardScrollbar.update();}, 400);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user