Browse Source

userId传空字符串

dev
mk 1 year ago
parent
commit
4a2b1c21ac
  1. 2
      src/utils/request.js

2
src/utils/request.js

@ -31,7 +31,7 @@ service.interceptors.request.use(
config.headers['customerId'] = store.state.app.userInfo.customerId
}
if (store.state.app.userInfo.id) {
config.headers['userId'] = store.state.app.userInfo.id
config.headers['userId'] = '';
}
config.baseURL = config.baseURL + '/'
return config

Loading…
Cancel
Save