Commit c6ff5a05 authored by JingChao's avatar JingChao

Update README.md

parent 1451bb9e
...@@ -36,7 +36,7 @@ For a detailed explanation on how things work, check out the [guide](http://vuej ...@@ -36,7 +36,7 @@ For a detailed explanation on how things work, check out the [guide](http://vuej
import UserInfoDetail from '@/pages/UserInfo/UserInfoDetail' import UserInfoDetail from '@/pages/UserInfo/UserInfoDetail'
``` ```
4. 实际路由注册需安照如下写法,`path``/tab/文件名`,`/tab`是否保留视实际情况而定。`component`后接的单词需和`import`的单词保持一致,`name`后接的单词也需和`import`的单词保持一致 4. 实际路由注册需安照如下写法,`path``/tab/文件名`,`/tab`是否保留按照是否存在tab页的情况而定。`component`后接的单词需和`import`的单词保持一致,`name`后接的单词也需和`import`的单词保持一致
```javascript ```javascript
{path: "/tab/HomeManager", component: HomeManager, name: 'HomeManager', meta: {keepAlive: true}}, {path: "/tab/HomeManager", component: HomeManager, name: 'HomeManager', meta: {keepAlive: true}},
......
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