add
This commit is contained in:
@ -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)
|
||||
|
@ -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 });
|
||||
|
Reference in New Issue
Block a user