common/http.interceptor.js
@@ -43,9 +43,7 @@ // 引用token const TOKEN = uni.getStorageSync(ACCESSTOKEN); if (TOKEN) { x.header[ACCESSTOKEN] = TOKEN; } else { delete x.header[ACCESSTOKEN] x.header[ACCESSTOKEN] = 'Bearer ' + TOKEN; } x.header['CLIENT-TYPE'] = appType() return x;