调整一下底部小样式
This commit is contained in:
@ -48,8 +48,11 @@ const request = (options) => {
|
||||
reject(err);
|
||||
}
|
||||
};
|
||||
|
||||
if (!options.url.includes('/login')) {
|
||||
//是否添加身份验证,undefined时默认需要
|
||||
if(options.isAuthen===undefined){
|
||||
options.isAuthen=true;
|
||||
}
|
||||
if (options.isAuthen) {
|
||||
const token = uni.getStorageSync('token');
|
||||
const clientid = uni.getStorageSync('clientID');
|
||||
if (token) {
|
||||
|
||||
Reference in New Issue
Block a user