From 4faf6424c3aa48fb62d36ede2f5c08336e704d50 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 02 Feb 2024 14:34:54 +0800
Subject: [PATCH] 部门多选

---
 src/views/system/user.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/views/system/user.vue b/src/views/system/user.vue
index c7b6f3c..787c39a 100644
--- a/src/views/system/user.vue
+++ b/src/views/system/user.vue
@@ -477,14 +477,15 @@
                             label: "所属部门",
                             prop: "deptId",
                             type: "tree",
-                            // multiple: true,
+                            multiple: true,
+                            leafOnly: false,
                             dicData: [],
-                            dataType: "string",
+                            // dataType: "string",
                             props: {
                                 label: "title",
                                 value: "id"
                             },
-                            // checkStrictly: true,
+                            checkStrictly: true,
                             slot: true,
                             span: 12,
                             rules: [{
@@ -1007,4 +1008,4 @@
 .box .el-scrollbar__wrap {
     overflow: scroll;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3