feat:优化视图与列表的切换速度

This commit is contained in:
zhangyu
2021-10-11 16:12:09 +08:00
parent 13bd9a0d8d
commit 2aab2cb550
3 changed files with 39 additions and 5 deletions

View File

@@ -51,7 +51,7 @@
</top-tool-more-options>
</template>
<template v-slot:search >
<click-search ref="clickSearch" v-if="detailType === 'list'" :select-value.sync="selectValue" :title-search-list="titleSearchList" @reload="reloadTable"/>
<click-search ref="clickSearch" :select-value.sync="selectValue" :title-search-list="titleSearchList" @reload="reloadTable"/>
</template>
<template v-slot:default="slotProps">
<asset-table