统一操作按钮样式,新增固定颜色类并应用到所有操作按钮
This commit is contained in:
@@ -62,13 +62,13 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="220">
|
||||
<template #default="scope">
|
||||
<el-button style="color: #67c23a" size="small" text type="primary" @click="onTrainProduct(scope.row)">
|
||||
<el-button size="small" text type="primary" class="op-btn-add" @click="onTrainProduct(scope.row)">
|
||||
<el-icon><Mic /></el-icon>上传
|
||||
</el-button>
|
||||
<el-button style="color: deepskyblue" size="small" text type="primary" @click="onOpenEditRole(scope.row)">
|
||||
<el-button size="small" text type="primary" class="op-btn-edit" @click="onOpenEditRole(scope.row)">
|
||||
<el-icon><EditPen /></el-icon>修改
|
||||
</el-button>
|
||||
<el-button size="small" text type="primary" @click="onRowDel(scope.row)">
|
||||
<el-button size="small" text type="primary" class="op-btn-del" @click="onRowDel(scope.row)">
|
||||
<el-icon><Delete /></el-icon>删除
|
||||
</el-button>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user