Commit e63203e6 by 无尘

docs: 增加好办后台路由结构图

parent 8ae4cb17
...@@ -21,9 +21,15 @@ npm run build --report ...@@ -21,9 +21,15 @@ npm run build --report
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
## 说明文档
- 好办后台路由机构图
![](http://115.159.76.241/office/office-web/blob/dev/haoban-router-constructor.png)
## 注意 ## 注意
>由于自定义 header 头增加 haobanSign 字段(即企业id),本地调试有些请求会有 options 预检请求,可以先注释下面代码, build 时候在放开注释; >由于自定义 header 头增加 haobanSign 字段(即企业id),本地调试有些请求会有 options 预检请求,可以先注释下面代码, build 时候再放开注释;
``` ```
# src/api/api.js # src/api/api.js
if (!!localStorage.getItem('userInfo')) { if (!!localStorage.getItem('userInfo')) {
......
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