From cb80de3742d66cfee20bc3136c735e5ca5a7d45c Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期三, 29 十一月 2023 12:44:42 +0800 Subject: [PATCH] 优化字典标签支持自定义分隔符 --- src/views/system/config/index.vue | 16 +++------------- 1 files changed, 3 insertions(+), 13 deletions(-) diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index 9a05e6c..c3a0fbc 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -101,7 +101,7 @@ <el-table-column label="鍙傛暟涓婚敭" align="center" prop="configId" /> <el-table-column label="鍙傛暟鍚嶇О" align="center" prop="configName" :show-overflow-tooltip="true" /> <el-table-column label="鍙傛暟閿悕" align="center" prop="configKey" :show-overflow-tooltip="true" /> - <el-table-column label="鍙傛暟閿��" align="center" prop="configValue" /> + <el-table-column label="鍙傛暟閿��" align="center" prop="configValue" :show-overflow-tooltip="true" /> <el-table-column label="绯荤粺鍐呯疆" align="center" prop="configType"> <template #default="scope"> <dict-tag :options="sys_yes_no" :value="scope.row.configType" /> @@ -115,18 +115,8 @@ </el-table-column> <el-table-column label="鎿嶄綔" align="center" width="150" class-name="small-padding fixed-width"> <template #default="scope"> - <el-button - type="text" - icon="Edit" - @click="handleUpdate(scope.row)" - v-hasPermi="['system:config:edit']" - >淇敼</el-button> - <el-button - type="text" - icon="Delete" - @click="handleDelete(scope.row)" - v-hasPermi="['system:config:remove']" - >鍒犻櫎</el-button> + <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:config:edit']" >淇敼</el-button> + <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:config:remove']">鍒犻櫎</el-button> </template> </el-table-column> </el-table> -- Gitblit v1.9.3