1.const query = Qs.parse(location.search.substring(1))
let passport = query.passport;
2. var query=this.$route.query;
let lat = query.lat;
vue 两种方法获取url里的参数
最新推荐文章于 2024-10-11 09:11:17 发布
1.const query = Qs.parse(location.search.substring(1))
let passport = query.passport;
2. var query=this.$route.query;
let lat = query.lat;