config/request.js @@ -66,7 +66,7 @@ // // 否则返回一个pending中的promise,请求不会进入catch中 // return new Promise(() => {}) // } uni.$u.toast(data.Message) uni.$u.toast(data.message) if (data.code === '303') { //强制登录,303跳转到首页 setTimeout(() => {