this.$router.push(`/page2?project=${row.project}`)
时间: 2024-06-06 08:08:20 浏览: 60
Vue this.$router.push(参数)实现页面跳转操作
This code is using the Vue router to navigate to a new page, specifically to a page called "page2" with a query parameter of "project" set to the value of the "project" property of the current row.
For example, if the current row had a "project" property of "myProject", the resulting URL would be "/page2?project=myProject".
The "$router.push" method is used to programmatically navigate to a new page in the application.
阅读全文