|
|
@@ -67,7 +67,7 @@ service.interceptors.request.use(
|
|
|
}
|
|
|
loading.show(config)
|
|
|
// 在请求发送之前做一些处理
|
|
|
- config.headers['Tenant'] = process.env.VUE_APP_TENANT
|
|
|
+ config.headers['Tenant'] = process.env.VUE_APP_TENANT
|
|
|
const token = util.cookies.get('token')
|
|
|
if (token !== undefined) {
|
|
|
// 让每个请求携带token-- ['Authorization']为自定义key 请根据实际情况自行修改
|