场景:点击事件后,打开新的标签页
toOtherPage() {
let routeUrl = this.$router.resolve({
path: "/otherpage",
query: this.$store.state.initQuery,
});
window.open(routeUrl.href, "_blank");
},
场景:点击事件后,打开新的标签页
toOtherPage() {
let routeUrl = this.$router.resolve({
path: "/otherpage",
query: this.$store.state.initQuery,
});
window.open(routeUrl.href, "_blank");
},