当前位置:网站首页>Short video platform development, click links and pictures to automatically jump to a new page
Short video platform development, click links and pictures to automatically jump to a new page
2022-06-28 04:17:00 【Yunbao network technology】
Short video platform development , Click the link 、 The picture automatically jumps to a new page
Method 1
// Jump to the page
JumpPage(product){
let Detail= this.$router.resolve({
// The name of the page to jump to
name:" name ",
// The ginseng
query:{
"key":value,"key2":value}
})
// Open with a new window
window.open(Detail.href,'_blank')
}
Method 2
// Jump to the page
JumpPage(product){
// Add value after link
let Detail=this.$router.resolve(' Address '+ Value to be passed );
// Such as :let Detail=this.$router.resolve('/Challenge/Details/'+row.id);
// Open with a new window
window.open(Detail.href,'_blank')
}
Accept parameters after jump :
// Join the ginseng
let key= this.$route.query.key;
let key2= this.$route.query.key2;
That's all Short video platform development , Click the link 、 The picture automatically jumps to a new page , More content welcome to follow the article
边栏推荐
- Design a stack with getmin function
- 成长一夏 挑战赛来袭 | 学习、创作两大赛道,开启导师报名啦!
- 从零到一,教你搭建「以文搜图」搜索服务(一)
- 云厂商为什么都在冲这个KPI?
- 有关函数模板的那些小知识-.-
- Multithreading and high concurrency III: AQS underlying source code analysis and implementation classes
- 01 overview, application scenarios, Download methods, connection methods and development history of mongodb
- 欧洲家具EN 597-1 跟EN 597-2两个阻燃标准一样吗?
- Multithreading and high concurrency six: source code analysis of thread pool
- Elk builds log analysis system + Zipkin service link tracking integration
猜你喜欢

Pinda general permission system (day 5~day 6)

first. Net core MVC project

政策利好,20多省市开启元宇宙发展规划

Tiktok practice ~ pay attention to bloggers

Market competitiveness of robot programming education

How to learn a programming language systematically| Dark horse programmer

JVM I: introduction to JVM and understanding of class files

《性能之巅第2版》阅读笔记(二)--CPU监测

02 mongodb data types, important concepts and common shell instructions

Analyzing the comprehensive application ability of educational robot
随机推荐
Zipkin 服务链路追踪
领歌leangoo敏捷看板工具新增导出卡片文档和粘贴共享脑图节点功能
Market competitiveness of robot programming education
窗帘做EN 1101易燃性测试过程是怎么样的?
2022年6月对自己近况的一次总结
@Several scenarios of transactional failure
What are the password requirements for waiting insurance 2.0? What are the legal bases?
01 MongoDB的概述、应用场景、下载方式、连接方式和发展历史等
关于 SY8120I 的DC-DC的降压芯片的学习(12V降至3.3V)
简单工厂模式
La norme européenne en 597 - 1 pour les meubles est - elle la même que les deux normes en 597 - 2 pour les ignifuges?
Zipkin service link tracking
用一个栈实现另一个栈的排序
Several important physical concepts
短视频平台开发,点击链接、图片自动跳转到新的页面
等保三级密码复杂度是多少?多久更换一次?
01 overview, application scenarios, Download methods, connection methods and development history of mongodb
Web3来临时的风口浪尖
10:00面试,10:02就出来了 ,问的实在是太...
公司领导说,个人代码超10个Bug就开除,是什么体验?