From 04c2dff687369d6e427af76431d1b7607d7182b7 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 19 二月 2025 15:34:56 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index 4dd044a..efaa417 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -303,6 +303,13 @@
             const noResultsOptions = { deptId: this.form.parentId, deptName: this.form.parentName, children: [] };
             this.deptOptions.push(noResultsOptions);
           }
+          if (row.parentId === 0) {
+            this.deptOptions.push({
+              deptId: 0,
+              deptName: '鏃�',
+              children: []
+            });
+          }
         });
       });
     },

--
Gitblit v1.8.0