fix 修复用户选择器卡死的bug

This commit is contained in:
yxh 2025-03-11 17:26:04 +08:00
parent cba04741fc
commit cbd89593d6
2 changed files with 5 additions and 2 deletions

View File

@ -6,3 +6,6 @@ VITE_PUBLIC_PATH = '/sys/'
# 线上环境接口地址
VITE_API_URL = '/'
# 本地环境websocket接口地址
VITE_WEBSOCKET_URL = 'ws://localhost:8808/'

View File

@ -167,7 +167,7 @@ export default defineComponent({
if(prop.modelValue&&prop.modelValue.length>0){
getUserByIds({ids:prop.modelValue}).then((res:any)=>{
if(res.code === 0){
deptUser.value = res.data.userList;
deptUser.value = res.data.userList??[];
}
});
}else{