This commit is contained in:
Gao xiaosong
2020-04-06 22:08:40 +08:00
parent 57ae931f2d
commit 4b6636ba6f
9 changed files with 1225 additions and 1294 deletions

View File

@ -117,7 +117,6 @@ export const replaceLogin = (msg) => {
icon: 'none',
duration: 2000
});
console.log(Vue.prototype.$deviceType)
// 这里代表已经失去登录状态以及401强制推出登录了
store.commit('LOGOUT')
console.log(uni, 989)

View File

@ -45,7 +45,7 @@ function baseRequest(options) {
...option
}).then(res => {
console.log(res)
console.log(url,params,data, ...option)
// console.log(url,params,data, ...option)
const data = res.data || {};
if (res.status !== 200)
return Promise.reject({ msg: "请求失败", res, data });