From 5ffe2e2949330f4f5859735bd333073d253f06bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=93=9D=E6=A2=A6?= <1165064178@qq.com> Date: Thu, 28 Aug 2025 14:45:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(UserSelect):=20=E4=BF=AE=E5=A4=8D=20?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E9=80=89=E6=8B=A9=E7=BB=84=E4=BB=B6=20?= =?UTF-8?q?=E5=9B=9E=E6=98=BE=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UserSelect/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/UserSelect/index.vue b/src/components/UserSelect/index.vue index dec1f96..a78a10a 100644 --- a/src/components/UserSelect/index.vue +++ b/src/components/UserSelect/index.vue @@ -173,7 +173,7 @@ const computedIds = (data) => { } else if (typeof data === 'string') { return data.split(','); } else if (typeof data === 'number') { - return [data]; + return [String(data)]; } else { console.warn(' The data type of data should be array or string or number, but I received other'); return []; -- Gitee