当前位置:网站首页>新窗口打开页面-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 }
}
边栏推荐
- 精耕渠道共谋发展 福昕携手伟仕佳杰开展新产品培训大会
- H264编码profile & level控制
- Uni app product classification
- Shell advanced
- Wireshark packet analysis TCP, FTP
- Learning notes [Gumbel softmax]
- [pytorch record] distributed training dataparallel and distributeddataparallel of the model
- ES6中的代理proxy
- 任务:拒绝服务DoS
- Solution and summary of Nacos startup failure
猜你喜欢

How to solve the problem of splash screen when the main and sub code streams of easygbs are h.265?

Witness the times! "The future of Renji collaboration has come" 2022 Hongji ecological partnership conference opens live broadcast reservation

Introduction and installation of crunch, and making password dictionary with crunch

pickle.load报错【AttributeError: Can‘t get attribute ‘Vocabulary‘ on <module ‘__main__‘】

SIP protocol of gb28181

论文泛读【FiLM: Visual Reasoning with a General Conditioning Layer】

微信公众号开发相关流程及功能介绍

DTD modeling

新版国标GB28181视频平台EasyGBS如何配置WebRTC视频流格式播放?

AAAI2020: Real-time Scene Text Detection with Differentiable Binarization
随机推荐
[go ~ 0 to 1] day 5 July 1 type alias, custom type, interface, package and initialization function
Interview questions for audio and video positions in Dachang -- today's headline
Ffmpeg common commands (2)
Les canaux de culture intensive s'efforcent de développer Fu Xin et Wei Shi jiajie pour organiser une conférence de formation sur les nouveaux produits
Wechat applet navigator has a shadow after clicking. Remove the shadow effect of navigator
EasyGBS网络不稳定情况下重复请求视频拉流问题的优化
pickle.load报错【AttributeError: Can‘t get attribute ‘Vocabulary‘ on <module ‘__main__‘】
Summary of SQL query de duplication statistics methods
Nat penetration of gb28181
Uni app product classification
Facebook聊单,SaleSmartly有妙招!
Ubuntu14 install MySQL and configure root account local and remote access
How to correctly use vertx to operate redis (3.9.4 with source code analysis)
Why has instagram changed from a content sharing platform to a marketing tool? How do independent sellers use this tool?
Solidity - truncated and checked modes of arithmetic operations - new features of 0.8.0
论文泛读【FiLM: Visual Reasoning with a General Conditioning Layer】
Helium transmission line of lake shore cryostat
Junit单元测试框架详解
703. The k-th element in the data flow
Transform + ASM data