$route下并没有query字段解析成json的数据, 哪个api可以获取?
看文档:
http://router.vuejs.org/en/route.html
$route.query
An object that contains key/value pairs of the query string. For example, for a path /foo?user=1, we get $route.query.user == 1.
转化为json字符串再传,然后再解析
$route下并没有query字段解析成json的数据, 哪个api可以获取?
看文档:
http://router.vuejs.org/en/route.html
$route.query
An object that contains key/value pairs of the query string. For example, for a path /foo?user=1, we get $route.query.user == 1.
转化为json字符串再传,然后再解析