diff --git a/common/http.interceptor.js b/common/http.interceptor.js index 5122ba2..e5ba704 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -31,9 +31,13 @@ const install = (Vue, vm) => { // 方式四,如果token放在了Storage本地存储中,拦截是每次请求都执行的,所以哪怕您重新登录修改了Storage,下一次的请求将会是最新值 // const token = uni.getStorageSync('token'); // config.header.token = token; + + // 注释 7/15 uni.showLoading({ - title: '加载中' + title: '请求中...' }); + // 注释 + // setTimeout(function () { // uni.hideLoading(); // }, 2000);