Commit b461a080 by caoyanzhi

update: 请求头添加好办标识

parent ab3de405
...@@ -15,6 +15,7 @@ import { Message } from 'element-ui'; ...@@ -15,6 +15,7 @@ import { Message } from 'element-ui';
Vue.use(VueAxios, axios); Vue.use(VueAxios, axios);
Vue.axios.defaults.withCredentials = true; // cookie访问 Vue.axios.defaults.withCredentials = true; // cookie访问
Vue.axios.defaults.headers.common['platform'] = 'haoban';
Vue.axios.defaults.timeout = 500000; Vue.axios.defaults.timeout = 500000;
let local = window.location.origin; 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