main
xy 2 years ago
parent d5d4f9cde7
commit c8a0be0e43

@ -45,20 +45,22 @@ const install = (Vue, vm) => {
let pathname = window.location.pathname; let pathname = window.location.pathname;
window.location.href = origin + pathname; window.location.href = origin + pathname;
}, 1500) }, 1500)
} else {
uni.showToast({
icon: "none",
title: res?.data?.errmsg
})
} }
return false; return false;
} else { } else {
uni.showToast({
icon: "none",
title: res?.data?.errmsg
})
return res.data; return res.data;
} }
} else { } else {
uni.showToast({ // uni.showToast({
icon: "none", // icon: "none",
title: res.statusCode // title: res.statusCode
}) // })
return false; return false;
} }

Loading…
Cancel
Save