Commit ef9b3b5f by crushh

update: 完成

parent 45553025
......@@ -14,11 +14,10 @@ import { Message } from 'element-ui';
/**
* 获取好办 企业 id
*/
// if (!!localStorage.getItem('userInfos')) {
// let haobanSign = JSON.parse(localStorage.getItem('userInfos')).enterpriseId;
// Vue.axios.defaults.headers.post['haobansign'] = haobanSign;
// Vue.axios.defaults.headers.get['haobansign'] = haobanSign;
// }
if (!!localStorage.getItem('userInfos')) {
let haobanSign = JSON.parse(localStorage.getItem('userInfos')).enterpriseId;
haobanSign ? (Vue.axios.defaults.headers.common['enterpriseId'] = haobanSign) : '';
}
Vue.axios.defaults.timeout = 500000;
let local = window.location.origin;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment