perf(webapp): 优化代码并更新样式
- 更新 Vite生成的 JS 和 CSS 文件引用- 在 manage.vue 中添加 rowKey 属性以优化表格性能
This commit is contained in:
@@ -286,7 +286,7 @@ onMounted(() => {
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
<a-table :columns="columns" :data-source="data" :row-selection="rowSelection" >
|
||||
<a-table :columns="columns" :data-source="data" :row-selection="rowSelection" rowKey="id" >
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'verify_status'">
|
||||
<a-tag v-if="record.verify_status === 'success'" color="green">正常</a-tag>
|
||||
|
||||
Reference in New Issue
Block a user