// 获取URL参数 var query = this.$router.history.current.query; // 获取URI var path = this.$router.history.current.path; // 深拷贝参数对象 var newQuery = JSON.parse(JSON.stringify(query)); // 修改 newQuery.p = page; this.$router.push({ path, query: newQuery });
© 著作权归作者所有