I've a method that looks like this:
methods: {
search () {
this.$route.router.go({ name: 'Search', Params: { search: this.searchFor }});
}
}
Obviously that is not working. How could I get that to work? I'm using vue.js 1.0
你应该看看这个 ,在Params
应该params
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.