热门活动
This commit is contained in:
@@ -30,7 +30,7 @@ async function queryUser(value: string, callback: any) {
|
||||
const options = res.rows.map((user) => ({
|
||||
label: user.userName,
|
||||
value: user.userName,
|
||||
userId: user.userId,
|
||||
userId: user.id,
|
||||
userName: user.userName,
|
||||
}));
|
||||
callback(options);
|
||||
@@ -55,7 +55,7 @@ async function getUserInfo(val:number|string) {
|
||||
const user = await personInfo(val)
|
||||
if (user) {
|
||||
data.value = [{
|
||||
userId: user.userId,
|
||||
userId: user.id,
|
||||
userName: user.userName,
|
||||
}]
|
||||
emit('update:userInfo', data.value[0]);
|
||||
|
Reference in New Issue
Block a user