From a541d61c0c2a111f9f87fde14d3557e37c3f1546 Mon Sep 17 00:00:00 2001
From: dzk <18285973401@163.com>
Date: 星期三, 17 四月 2024 23:49:07 +0800
Subject: [PATCH] 修复用户表单角色为非必填项的BUG

---
 src/components/UserSelect/index.vue |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/components/UserSelect/index.vue b/src/components/UserSelect/index.vue
index 7f8b185..d544330 100644
--- a/src/components/UserSelect/index.vue
+++ b/src/components/UserSelect/index.vue
@@ -171,7 +171,7 @@
 };
 
 const computedIds = (data) => {
-    if (data instanceof Array) {
+  if (data instanceof Array) {
     return [...data];
   } else if (typeof data === 'string') {
     return data.split(',');
@@ -290,8 +290,6 @@
 watch(
   () => userDialog.visible.value,
   (newValue: boolean) => {
-    console.log(selectUserList.value)
-
     if (newValue) {
       initSelectUser();
     } else {

--
Gitblit v1.9.3