update token
This commit is contained in:
@@ -25,7 +25,7 @@ const install = (Vue, vm) => {
|
||||
const token = uni.getStorageSync('token');
|
||||
// console.log(token);
|
||||
// config.header.token = token;
|
||||
config.header.Authorization = token;
|
||||
config.header.Authorization = 'Bearer' + " " + token;
|
||||
// config.header.Token = 'xxxxxx';
|
||||
|
||||
// 可以对某个url进行特别处理,此url参数为this.$u.get(url)中的url值
|
||||
|
||||
Reference in New Issue
Block a user