摘要: @PathVariable 1:接受参数时,地址栏为:/{args1}/{args2} 2:用法:(@PathVariable(value = "args")Long id) 3:GET请求方法 @RequestParams 1:接受参数时,地址栏为:/args=? 2:用法:(@PathVaria 阅读全文
posted @ 2018-12-07 18:41 image_erfsfj 阅读(1575) 评论(0) 推荐(1) 编辑
摘要: query 1:参数会在地址栏显示 2:参数不需要在路由的path后接:args1/:args2 3:获取参数用this.$route.query.args1 params 1:参数需要在路由的path后接:args1/:args2 2:获取参数用this.$route.params.args1 阅读全文
posted @ 2018-12-07 18:15 image_erfsfj 阅读(482) 评论(0) 推荐(0) 编辑