refactor: ♻️ 角色管理按钮图标统一

This commit is contained in:
ray
2024-10-10 22:02:14 +08:00
parent 20c0a89d0d
commit 1fb47c59dd

View File

@@ -13,11 +13,11 @@
<el-form-item> <el-form-item>
<el-button type="primary" @click="handleQuery"> <el-button type="primary" @click="handleQuery">
<Search /> <template #icon><Search /></template>
搜索 搜索
</el-button> </el-button>
<el-button @click="handleResetQuery"> <el-button @click="handleResetQuery">
<Refresh /> <template #icon><Refresh /></template>
重置 重置
</el-button> </el-button>
</el-form-item> </el-form-item>
@@ -27,9 +27,7 @@
<el-card shadow="never" class="table-container"> <el-card shadow="never" class="table-container">
<template #header> <template #header>
<el-button type="success" @click="handleOpenDialog()"> <el-button type="success" @click="handleOpenDialog()">
<el-icon> <template #icon><Plus /></template>
<Plus />
</el-icon>
新增 新增
</el-button> </el-button>
<el-button <el-button
@@ -37,9 +35,7 @@
:disabled="ids.length === 0" :disabled="ids.length === 0"
@click="handleDelete()" @click="handleDelete()"
> >
<el-icon> <template #icon><Delete /></template>
<Delete />
</el-icon>
删除 删除
</el-button> </el-button>
</template> </template>