refactor: icon优化
Former-commit-id: efc04bf33433c06d7dea1f84c41ef83b06ff16f1
This commit is contained in:
@@ -29,7 +29,7 @@ const handleDictTypeClick = (row: any) => {
|
||||
<el-col :span="10" :xs="24">
|
||||
<el-card class="box-card">
|
||||
<template #header>
|
||||
<svg-icon icon-name="dict" />
|
||||
<svg-icon icon-class="dict" />
|
||||
字典类型
|
||||
</template>
|
||||
<dict-type @dictClick="handleDictTypeClick" />
|
||||
@@ -39,7 +39,7 @@ const handleDictTypeClick = (row: any) => {
|
||||
<el-col :span="14" :xs="24">
|
||||
<el-card class="box-card">
|
||||
<template #header>
|
||||
<svg-icon icon-name="dict_item" />
|
||||
<svg-icon icon-class="dict_item" />
|
||||
<span style="margin: 0 5px">字典数据项</span>
|
||||
<el-tag type="success" v-if="typeCode" size="small">{{
|
||||
typeName
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<el-table-column label="菜单名称">
|
||||
<template #default="scope">
|
||||
<svg-icon
|
||||
:icon-name="
|
||||
:icon-class="
|
||||
scope.row.type === 'BUTTON' ? 'button' : scope.row.icon
|
||||
"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user