This commit is contained in:
asd
2019-12-09 11:31:31 +08:00
parent e9647f2b08
commit 1ab4e876b2

View File

@@ -284,6 +284,7 @@ export default {
3.在main.js 中声明 路由的地方
把 { path: "/b", component: bb },改成:
```
{
path: "/b",
component: bb,
@@ -293,4 +294,8 @@ export default {
]
},
4.访问时 的路径 localhost:8080/#/父路由名/子组件名
```
4.访问时 的路径 localhost:8080/#/父路由名/子组件名
全部代码