feat: 去掉超时报错
This commit is contained in:
+10
-4
@@ -900,10 +900,16 @@
|
||||
if (enterType === 'weixin') {
|
||||
ress = await getHair();
|
||||
} else {
|
||||
const uuuress = await pollExchangeHairHistory(taskInfo.requestId);
|
||||
console.log('uuuress: xxxxxxxxxxxx', uuuress);
|
||||
// await addHair(ress);
|
||||
avatarList.value = uuuress.result;
|
||||
try {
|
||||
|
||||
const uuuress = await pollExchangeHairHistory(taskInfo.requestId);
|
||||
console.log('uuuress: xxxxxxxxxxxx', uuuress);
|
||||
// await addHair(ress);
|
||||
avatarList.value = uuuress.result;
|
||||
} catch (error) {
|
||||
console.log('error: ', error);
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user