From cc4186b578c158984842c50349fc043a4d0d478d Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 04 十二月 2024 11:43:18 +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