// vue新窗口传参
openNew(){
const {href} = this.$router.resolve({
path: '/analysis/network',query:{timeType:this.timeType}
})
window.open(href,'_blank')
}
// 新窗口获取参数
if(this.$route.query && this.$route.query.hasOwnProperty('timeType')) this.timeType = this.$route.query.timeType
vue打开新页面窗口传参
最新推荐文章于 2023-08-19 18:15:10 发布