From 7a9ccedadcd7f6a27d6c2a40b2083a899dae4732 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 11 十二月 2024 15:30:44 +0800 Subject: [PATCH] update 优化 新增编辑用户 过滤禁用的部门 --- src/components/UserSelect/index.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/components/UserSelect/index.vue b/src/components/UserSelect/index.vue index e9865e5..4b93bb3 100644 --- a/src/components/UserSelect/index.vue +++ b/src/components/UserSelect/index.vue @@ -166,7 +166,7 @@ const computedIds = (data) => { if (data instanceof Array) { - return [...data]; + return data.map(item => String(item)); } else if (typeof data === 'string') { return data.split(','); } else if (typeof data === 'number') { -- Gitblit v1.9.3