update
This commit is contained in:
@@ -321,9 +321,11 @@ const routes = [
|
||||
]
|
||||
|
||||
```
|
||||
### route.push()实现页面跳转
|
||||
### route.push()页面跳转及传参
|
||||
|
||||
1.route.push("页面路由")//路由后面可以直接用?参数名=参数值传参
|
||||
1.页面跳转:
|
||||
|
||||
(1)route.push("页面路由")//路由后面可以直接用?参数名=参数值传参
|
||||
|
||||
2.route.push({path:"页面路由",query:{参数名:参数值})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user