有时候需要在单机事件或函数中要求我们新窗口打开页面
在点击触发事件函数中:
const {href} = this.$router.resolve({
path:"跳转的路由地址"
})
window.open(href,'_blank')
有时候需要在单机事件或函数中要求我们新窗口打开页面
在点击触发事件函数中:
const {href} = this.$router.resolve({
path:"跳转的路由地址"
})
window.open(href,'_blank')