fix 修复用户选择器卡死的bug
This commit is contained in:
parent
cba04741fc
commit
cbd89593d6
@ -6,3 +6,6 @@ VITE_PUBLIC_PATH = '/sys/'
|
|||||||
|
|
||||||
# 线上环境接口地址
|
# 线上环境接口地址
|
||||||
VITE_API_URL = '/'
|
VITE_API_URL = '/'
|
||||||
|
|
||||||
|
# 本地环境websocket接口地址
|
||||||
|
VITE_WEBSOCKET_URL = 'ws://localhost:8808/'
|
||||||
|
@ -167,7 +167,7 @@ export default defineComponent({
|
|||||||
if(prop.modelValue&&prop.modelValue.length>0){
|
if(prop.modelValue&&prop.modelValue.length>0){
|
||||||
getUserByIds({ids:prop.modelValue}).then((res:any)=>{
|
getUserByIds({ids:prop.modelValue}).then((res:any)=>{
|
||||||
if(res.code === 0){
|
if(res.code === 0){
|
||||||
deptUser.value = res.data.userList;
|
deptUser.value = res.data.userList??[];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
@ -199,7 +199,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
const getUserList = ()=>{
|
const getUserList = ()=>{
|
||||||
userListRef.value.setUserList();
|
userListRef.value.setUserList();
|
||||||
};
|
};
|
||||||
// 初始化表格数据
|
// 初始化表格数据
|
||||||
const initTableData = () => {
|
const initTableData = () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user