c3c91799 by 杨炀

no message

1 parent 8162910a
......@@ -70,12 +70,21 @@ const request = function(req) {
resolve(data)
} else {
if (!excludeUrls.includes(req.url)) {
uni.showToast({
title: data.msg,
icon: 'none',
duration: 3000
if(data.msg){
uni.showModal({
content: data.msg,
success: function(res) {
}
})
}
uni.hideLoading()
// uni.showToast({
// title: data.msg,
// icon: 'none',
// duration: 3000
// })
}
// 登录超时
if (data.code === 60002 || data.code === 60001) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!