|
@@ -34,7 +34,7 @@ export const myRequest = (options) => {
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
uni.hideNavigationBarLoading();
|
|
uni.hideNavigationBarLoading();
|
|
uni.stopPullDownRefresh();
|
|
uni.stopPullDownRefresh();
|
|
- if(res.data.errorCode=='401'||res.data.message.indexOf('登录')>-1){
|
|
+ if(res.data.errorCode=='401'||res.data.message.indexOf('请登录')>-1){
|
|
uni.$emit('unLogin')
|
|
uni.$emit('unLogin')
|
|
}
|
|
}
|
|
resolve(res)
|
|
resolve(res)
|