设置url参数
let path = this.$router.history.current.path;
this.$router.push({ path, query: {key1:value1, key2: value2} });
获取url参数
const urlParams = this.$route.query;
设置url参数
let path = this.$router.history.current.path;
this.$router.push({ path, query: {key1:value1, key2: value2} });
获取url参数
const urlParams = this.$route.query;