style: 表格操作按钮统一添加图标

评测列表与模型管理列表的详情、编辑、删除按钮补充 Font Awesome 图标,提升操作可辨识度。
This commit is contained in:
caoxiaozhu
2026-07-13 11:51:50 +08:00
parent 91a7c84d7c
commit bff07b7a31
2 changed files with 12 additions and 4 deletions

View File

@@ -167,8 +167,12 @@ onMounted(loadData)
</el-table-column>
</template>
<template #actions="{ row }">
<el-button type="primary" link size="small" @click="editModel(row)">编辑</el-button>
<el-button type="danger" link size="small" @click="handleDeleteConfig(row)">删除</el-button>
<el-button type="primary" link size="small" @click="editModel(row)">
<i class="fa fa-edit" style="margin-right: 4px" />编辑
</el-button>
<el-button type="danger" link size="small" @click="handleDeleteConfig(row)">
<i class="fa fa-trash-o" style="margin-right: 4px" />删除
</el-button>
</template>
</DataTablePage>