vue动态设置url参数
let path = this.$router.history.current.path;this.$router.push({ path, query: {key1:value1, key2: value2} });
·
设置url参数
let path = this.$router.history.current.path;
this.$router.push({ path, query: {key1:value1, key2: value2} });
获取url参数
const urlParams = this.$route.query;
更多推荐
已为社区贡献1条内容
所有评论(0)