fix: 优化实体列表性能

This commit is contained in:
chenjinsong
2022-01-11 11:20:17 +08:00
parent ea204a2bee
commit c8ec6372cb
3 changed files with 10 additions and 8 deletions

View File

@@ -93,7 +93,7 @@
</div>
</div>
<el-collapse-transition>
<div class="cn-entity__detail-overview" v-show="!isCollapse">
<div class="cn-entity__detail-overview" v-if="!isCollapse">
<el-divider></el-divider>
<detail-overview
:entity="entityData"

View File

@@ -210,7 +210,7 @@ export default {
if (this.listMode === 'list') {
this.entityData = _.cloneDeep(this.entity)
this.chartOption = _.cloneDeep(entityListLineOption)
setTimeout(() => { this.queryEntityDetail() })
// setTimeout(() => { this.queryEntityDetail() })
}
}
}