设置url参数

let path = this.$router.history.current.path;
this.$router.push({ path, query: {key1:value1, key2: value2} });

获取url参数

 const urlParams = this.$route.query;
Logo

前往低代码交流专区

更多推荐