提交 953aa7d3 authored 作者: 王鹏飞's avatar 王鹏飞

dev-build

上级 317e0c1a
...@@ -12,4 +12,4 @@ ...@@ -12,4 +12,4 @@
} }
resizeRoot() resizeRoot()
win.addEventListener('resize', resizeRoot, false) win.addEventListener('resize', resizeRoot, false)
})(window, document)</script><link href=/css/chunk-1e2bace7.6e8b52de.css rel=prefetch><link href=/css/chunk-1ee731a4.dd591e9b.css rel=prefetch><link href=/css/chunk-3aad9bd9.62fd5d68.css rel=prefetch><link href=/js/chunk-1e2bace7.390359e3.js rel=prefetch><link href=/js/chunk-1ee731a4.5f930351.js rel=prefetch><link href=/js/chunk-3a7097b0.6fd2a1be.js rel=prefetch><link href=/js/chunk-3aad9bd9.843cb3cb.js rel=prefetch><link href=/js/chunk-86287c5a.5dde23c3.js rel=prefetch><link href=/css/app.d64984bc.css rel=preload as=style><link href=/css/chunk-vendors.25cc10a1.css rel=preload as=style><link href=/js/app.71c51b99.js rel=preload as=script><link href=/js/chunk-vendors.fd8b7db1.js rel=preload as=script><link href=/css/chunk-vendors.25cc10a1.css rel=stylesheet><link href=/css/app.d64984bc.css rel=stylesheet></head><body><noscript><strong>We're sorry but ezijing-office-h5 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.fd8b7db1.js></script><script src=/js/app.71c51b99.js></script></body></html> })(window, document)</script><link href=/css/chunk-1e2bace7.6e8b52de.css rel=prefetch><link href=/css/chunk-1ee731a4.dd591e9b.css rel=prefetch><link href=/css/chunk-3aad9bd9.62fd5d68.css rel=prefetch><link href=/js/chunk-1e2bace7.390359e3.js rel=prefetch><link href=/js/chunk-1ee731a4.5f930351.js rel=prefetch><link href=/js/chunk-3a7097b0.6fd2a1be.js rel=prefetch><link href=/js/chunk-3aad9bd9.843cb3cb.js rel=prefetch><link href=/js/chunk-86287c5a.5dde23c3.js rel=prefetch><link href=/css/app.d64984bc.css rel=preload as=style><link href=/css/chunk-vendors.25cc10a1.css rel=preload as=style><link href=/js/app.90529b60.js rel=preload as=script><link href=/js/chunk-vendors.fd8b7db1.js rel=preload as=script><link href=/css/chunk-vendors.25cc10a1.css rel=stylesheet><link href=/css/app.d64984bc.css rel=stylesheet></head><body><noscript><strong>We're sorry but ezijing-office-h5 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.fd8b7db1.js></script><script src=/js/app.90529b60.js></script></body></html>
\ No newline at end of file \ No newline at end of file
...@@ -9,8 +9,9 @@ const httpRequest = axios.create({ ...@@ -9,8 +9,9 @@ const httpRequest = axios.create({
withCredentials: true, withCredentials: true,
crossDomain: true, crossDomain: true,
headers: { headers: {
'Content-Type': 'application/x-www-form-urlencoded', 'Content-Type': 'application/x-www-form-urlencoded'
tenant: 'sofia' // tenant: 'sofia',
// token: localStorage.getItem('token') || ''
} }
}) })
...@@ -20,6 +21,7 @@ httpRequest.interceptors.request.use( ...@@ -20,6 +21,7 @@ httpRequest.interceptors.request.use(
const token = localStorage.getItem('token') || '' const token = localStorage.getItem('token') || ''
if (token) { if (token) {
config.headers['token'] = token config.headers['token'] = token
config.headers.tenant = 'sofia'
} }
if ( if (
config.headers['Content-Type'] === 'application/x-www-form-urlencoded' config.headers['Content-Type'] === 'application/x-www-form-urlencoded'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论