🦄 refactor: 封装统一表格组件,便于批量扩展表格能力
This commit is contained in:
8
klp-ui/src/views/monitor/cache/list.vue
vendored
8
klp-ui/src/views/monitor/cache/list.vue
vendored
@@ -12,7 +12,7 @@
|
||||
@click="refreshCacheNames()"
|
||||
></el-button>
|
||||
</div>
|
||||
<el-table
|
||||
<KLPTable
|
||||
v-loading="loading"
|
||||
:data="cacheNames"
|
||||
:height="tableHeight"
|
||||
@@ -55,7 +55,7 @@
|
||||
></el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</KLPTable>
|
||||
</el-card>
|
||||
</el-col>
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
@click="refreshCacheKeys()"
|
||||
></el-button>
|
||||
</div>
|
||||
<el-table
|
||||
<KLPTable
|
||||
v-loading="subLoading"
|
||||
:data="cacheKeys"
|
||||
:height="tableHeight"
|
||||
@@ -105,7 +105,7 @@
|
||||
></el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</KLPTable>
|
||||
</el-card>
|
||||
</el-col>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user