当前位置:网站首页>新窗口打开页面-window.open
新窗口打开页面-window.open
2022-07-01 18:45:00 【古迪红尘】
点击目标文件-unionMap.vue -跳转到新窗口
src\views\gao\view\budget\pages\unionMap\unionMap.vue
点击右侧-工会经费大数据-大地图管理-工会地图
弹出新窗口
同级目录下新建Blank.vue
把unionMap.vue所有代码复制到Blank.vue
unionMap.vue 重写代码
<template>
<div>
<p>跳转新页面</p>
</div>
</template>
<script>
export default {
data () {
return {
}
},
created () {
// 重要代码
const _router = this.$router.resolve({
name: 'union_map_blank'
})
window.open(_router.href, '_blank')
}
}
</script>
<style>
</style>
给新添加文件Blank.vue创建路由
src\router\gao.js
可与目录文件unionMap.vue同级
{
path: 'unionMap',
name: 'unionMap',
component: () => import('@/views/gao/view/budget/pages/unionBigMap/unionMap.vue'),
meta: {
title: '工会地图', icon: 'dashboard', auth: true }
},
{
path: 'union_map_blank',
name: 'union_map_blank',
component: () => import('@/views/gao/view/budget/pages/unionBigMap/Blank.vue'),
meta: {
title: '工会地图', icon: 'dashboard', auth: true }
}
边栏推荐
- 703. The k-th element in the data flow
- How to solve the problem of splash screen when the main and sub code streams of easygbs are h.265?
- optaplanner学习笔记(一)案例Cloud balance
- Shell advanced
- DTD modeling
- Instagram 为何从内容共享平台变成营销工具?独立站卖家如何利用该工具?
- DTD建模
- Nacos configuration file publishing failed, please check whether the parameters are correct solution
- Botu V16 obtains the system time and converts it into a string
- Enabling "new Chinese enterprises", SAP process automation landing in China
猜你喜欢

Enabling "new Chinese enterprises", SAP process automation landing in China
![Thesis reading [distinctive late semantic graph for video capturing]](/img/d4/4f84a73a9127fa87bb0a74c4655d15.png)
Thesis reading [distinctive late semantic graph for video capturing]

Salesmartly has some tricks for Facebook chat!

Crunch简介、安装,使用Crunch制作密码字典

axure不显示元件库

Summary of SQL query de duplication statistics methods

Helium transmission line of lake shore cryostat

optaplanner学习笔记(一)案例Cloud balance

科技T3国产平台!成功搭载“翼辉国产实时系统SylixOS”

ddr4测试-2
随机推荐
[SQL optimization] the difference between with as and temporary tables
Wechat applet navigator has a shadow after clicking. Remove the shadow effect of navigator
How to solve the problem of splash screen when the main and sub code streams of easygbs are h.265?
狼人杀攻略:你当我好骗吗,我们相信谁!
[untitled]
见证时代!“人玑协同 未来已来”2022弘玑生态伙伴大会开启直播预约
Ubuntu14 install MySQL and configure root account local and remote access
商业智能BI开发和报表开发有什么本质区别?
ddr4测试-2
Opencv video quality diagnosis - VIDEO occlusion diagnosis
ES6中的代理proxy
Thesis reading [distinctive late semantic graph for video capturing]
微信公众号开发相关流程及功能介绍
[go ~ 0 to 1] day 5 July 1 type alias, custom type, interface, package and initialization function
Reading the paper [learning to discretely compose reasoning module networks for video captioning]
GetMessage底层机制分析
Regular expression =regex=regular expression
【sql优化】with as 和 临时表的区别
精耕渠道共谋发展 福昕携手伟仕佳杰开展新产品培训大会
Witness the times! "The future of Renji collaboration has come" 2022 Hongji ecological partnership conference opens live broadcast reservation