update
This commit is contained in:
@@ -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/#/父路由名/子组件名
|
||||
|
||||
全部代码
|
||||
|
||||
Reference in New Issue
Block a user