From 9b6cd8b047cf21f28b254956d5cec2ccf3d15d00 Mon Sep 17 00:00:00 2001
From: LiuHao <liuhaoai545@gmail>
Date: 星期五, 05 五月 2023 11:34:55 +0800
Subject: [PATCH] DictTag组件,当value没有匹配的值时,展示value

---
 src/views/system/dept/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index 2f45839..fad48a3 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -229,7 +229,7 @@
             nextTick(() => {
                 reset();
                 if (row && row.deptId) {
-                    form.value.parentId = row?.parentId;
+                    form.value.parentId = row?.deptId;
                 }
             })
         }

--
Gitblit v1.9.3