修复websocket返回异常提示没显示的问题
This commit is contained in:
parent
899c037ab6
commit
c0b8773e57
@ -206,11 +206,14 @@ onLoad((options:any) => {
|
||||
clearXkkcSelected();
|
||||
PageUtils.toHome(xklxId.value);
|
||||
} else if (dataObj.code === 2) { // 课程提示
|
||||
uni.showToast({
|
||||
title: dataObj.message,
|
||||
icon: "none",
|
||||
duration: 3000
|
||||
});
|
||||
uni.hideLoading();
|
||||
setTimeout(() => {
|
||||
uni.showToast({
|
||||
title: dataObj.message,
|
||||
icon: "none",
|
||||
duration: 3000
|
||||
});
|
||||
}, 500);
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: dataObj.message,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user