Vue 跳转路由并在新窗口弹出
时间:2020-04-09 16:14:11
收藏:0
阅读:559
Vue 跳转路由并在新窗口弹出
methods: { beforeInquiry () { const { href } = this.$router.resolve({ name:‘consult‘ }); window.open(href, ‘_blank‘); }, }
原文:https://www.cnblogs.com/rabbit-lin0903/p/12667311.html
评论(0)