diff --git a/pages/mine/set/editionIntro.vue b/pages/mine/set/editionIntro.vue index 8109206..4e90bdd 100644 --- a/pages/mine/set/editionIntro.vue +++ b/pages/mine/set/editionIntro.vue @@ -29,7 +29,7 @@ 《{{config.name}}用户协议》 - CopyRight @{{config.name}} + CopyRight ©{{config.name}} diff --git a/pages/mine/set/setUp.vue b/pages/mine/set/setUp.vue index 176cd23..df48137 100644 --- a/pages/mine/set/setUp.vue +++ b/pages/mine/set/setUp.vue @@ -65,8 +65,14 @@ export default { * 清除缓存重新登录 */ async confirm() { - await logout(); - this.clear(); + try{ + await logout(); + this.clear(); + }catch(e){ + //TODO handle the exception + this.clear(); + } + }, /** diff --git a/pages/order/afterSales/afterSales.vue b/pages/order/afterSales/afterSales.vue index 15b41c4..9fcdac3 100644 --- a/pages/order/afterSales/afterSales.vue +++ b/pages/order/afterSales/afterSales.vue @@ -125,6 +125,7 @@
- +
diff --git a/pages/tabbar/home/template/tpl_promotions_detail.vue b/pages/tabbar/home/template/tpl_promotions_detail.vue index 0939658..bc146cc 100644 --- a/pages/tabbar/home/template/tpl_promotions_detail.vue +++ b/pages/tabbar/home/template/tpl_promotions_detail.vue @@ -39,8 +39,10 @@ :key="_index" >
- diff --git a/utils/request.js b/utils/request.js index 3cb42cc..e7b0ccc 100644 --- a/utils/request.js +++ b/utils/request.js @@ -121,6 +121,7 @@ http.interceptors.response.use( if (!isRefreshing) { console.log('旧token',token) isRefreshing = true; + storage.setAccessToken('') let oldRefreshToken = storage.getRefreshToken(); //调用刷新token的接口 return refreshTokenFn(oldRefreshToken)