From b444f2b8e2c9f4ea8d95227657f1850c91c20005 Mon Sep 17 00:00:00 2001 From: NicholasLD <nicholasld505@gmail.com> Date: 星期三, 17 四月 2024 19:24:58 +0800 Subject: [PATCH] fix: 临时修复elementui新版本下拉框宽度问题 --- 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