From 19d17f0f0fb02f46342d70b5180e40a0ad1b66d3 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 09 十一月 2023 18:16:13 +0800
Subject: [PATCH] MrShi

---
 admin/src/components/system/dict/DictDataManagerWindow.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/admin/src/components/system/dict/DictDataManagerWindow.vue b/admin/src/components/system/dict/DictDataManagerWindow.vue
index 331cf1f..4fb8711 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"
@@ -19,7 +18,7 @@
           <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 +79,11 @@
       dictName: ''
     }
   },
+  watch: {
+    $route (to, from) {
+      this.visible = false
+    }
+  },
   methods: {
     // 鎵撳紑鏁版嵁绠$悊
     open (dictId, dictName) {

--
Gitblit v1.9.3