Vue取得URL参数
实例:URL:http://localhost:8080/#/weChatPaySuccess?orderNo=U10070console.log(this.$route.query.orderNo)结果:U10070
·
实例:
URL: http://localhost:8080/#/weChatPaySuccess?orderNo=U10070
console.log(this.$route.query.orderNo)
结果: U10070
更多推荐
已为社区贡献22条内容
所有评论(0)