统一操作按钮样式,新增固定颜色类并应用到所有操作按钮

This commit is contained in:
WUSIJIAN
2025-12-11 17:47:57 +08:00
parent eba0f1d093
commit 58be602770
13 changed files with 66 additions and 40 deletions

View File

@@ -53,8 +53,8 @@
<el-table-column prop="createdAt" label="创建时间" show-overflow-tooltip></el-table-column>
<el-table-column label="操作" width="200">
<template #default="scope">
<el-button size="small" text type="primary" @click="onOpenEditPost(scope.row)">修改</el-button>
<el-button size="small" text type="primary" @click="onRowDel(scope.row)">删除</el-button>
<el-button size="small" text type="primary" class="op-btn-edit" @click="onOpenEditPost(scope.row)">修改</el-button>
<el-button size="small" text type="primary" class="op-btn-del" @click="onRowDel(scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>