Skip to content

Commit 5c67599

Browse files
committed
修复配置管理的图标
1 parent f474e06 commit 5c67599

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

src/views/infra/config/index.vue

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@
4949
/>
5050
</el-form-item>
5151
<el-form-item>
52-
<!-- TODO 按钮图标不对 已解决 -->
53-
<el-button type="primary" :icon="Search" @click="handleQuery">搜索</el-button>
54-
<el-button :icon="Refresh" @click="resetQuery">重置</el-button>
52+
<el-button type="primary" @click="handleQuery">
53+
<Icon icon="ep:search" class="mr-5px" /> 搜索
54+
</el-button>
55+
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
5556
</el-form-item>
5657
</el-form>
5758

@@ -63,23 +64,20 @@
6364
<el-button
6465
type="primary"
6566
plain
66-
:icon="Plus"
6767
@click="openModal('create')"
6868
v-hasPermi="['infra:config:create']"
6969
>
70-
新增
70+
<Icon icon="ep:plus" class="mr-5px" /> 新增
7171
</el-button>
7272
</el-col>
73-
<!-- TODO 芋艿,图标不对 已解决 -->
7473
<el-col :span="1.5">
7574
<el-button
7675
type="warning"
77-
:icon="Download"
7876
@click="handleExport"
7977
:loading="exportLoading"
8078
v-hasPermi="['infra:config:export']"
8179
>
82-
导出
80+
<Icon icon="ep:download" class="mr-5px" /> 导出
8381
</el-button>
8482
</el-col>
8583
<!-- TODO 芋艿:右侧导航 -->
@@ -111,26 +109,24 @@
111109
<span>{{ dayjs(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') }}</span>
112110
</template>
113111
</el-table-column>
114-
<!-- TODO 芋艿:icon 有问题,会换行 已解决 -->
112+
<!-- TODO 芋艿:宽度;里面的 css -->
115113
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
116114
<template #default="scope">
117115
<el-button
118116
link
119117
type="primary"
120-
:icon="Edit"
121118
@click="openModal('update', scope.row.id)"
122119
v-hasPermi="['infra:config:update']"
123120
>
124-
修改
121+
<Icon icon="ep:edit" /> 修改
125122
</el-button>
126123
<el-button
127124
link
128125
type="primary"
129-
:icon="Delete"
130126
@click="handleDelete(scope.row)"
131127
v-hasPermi="['infra:config:delete']"
132128
>
133-
删除
129+
<Icon icon="ep:delete" /> 删除
134130
</el-button>
135131
</template>
136132
</el-table-column>

0 commit comments

Comments
 (0)