From 4fabfe4dbd2eb28d07a4350597d314958cc1c281 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期四, 09 十月 2025 11:16:43 +0800 Subject: [PATCH] 优化 --- admin/src/components/system/dict/DictDataManagerWindow.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/admin/src/components/system/dict/DictDataManagerWindow.vue b/admin/src/components/system/dict/DictDataManagerWindow.vue index 331cf1f..0190a33 100644 --- a/admin/src/components/system/dict/DictDataManagerWindow.vue +++ b/admin/src/components/system/dict/DictDataManagerWindow.vue @@ -7,7 +7,6 @@ <TableLayout :with-breadcrumb="false"> <!-- 琛ㄦ牸鍜屽垎椤� --> <template v-slot:table-wrap> - <el-table v-loading="isWorking.search" :data="tableData.list" @@ -16,10 +15,11 @@ @selection-change="handleSelectionChange" > <el-table-column type="selection" width="55"></el-table-column> + <el-table-column prop="info" label="瀛楀吀鍚�" min-width="100px"></el-table-column> <el-table-column prop="label" label="鏁版嵁鏍囩" min-width="100px"></el-table-column> <el-table-column prop="code" label="鏁版嵁鍊�" min-width="100px"> <template slot-scope="{row}"> - <div v-if="row.code.length <= 50">{{ row.code }}</div> + <div v-if="row.code.length <= 50" v-html="row.code"></div> <el-button v-else type="text" @click="$refs.protocol.open(row.label, row)">鐐瑰嚮鏌ョ湅</el-button> </template> </el-table-column> @@ -80,6 +80,11 @@ dictName: '' } }, + watch: { + $route (to, from) { + this.visible = false + } + }, methods: { // 鎵撳紑鏁版嵁绠$悊 open (dictId, dictName) { -- Gitblit v1.9.3