当前位置:网站首页>Route jump: click the operation button of the list to jump to another menu page and activate the corresponding menu
Route jump: click the operation button of the list to jump to another menu page and activate the corresponding menu
2022-06-26 03:17:00 【Small vegetable bird yard live】
How to click the operation button
// Handle button
handle(row){
if(row.id=="1"){
this.go('/yw/xmgl/xmgl/kgsq')
}else{
this.go('/yw/xmgl/xmgl/htps')
}
},
go Method
go(path){
const links = [...document.getElementsByTagName('a')];
const a = links.find(a=>a.getAttribute("href")===path)
if(a){
a.click()
}else{
alert(" No corresponding link found ")
}
},
边栏推荐
- 培育项目式Steam教育理念下的儿童创造力
- 分布式电商项目 谷粒商城 学习笔记<3>
- arduino字符串转16进制数 大彩串口屏用。
- kotlin快速上手
- Golang--channel and select
- Lumen Analysis and Optimization of ue5 global Lighting System
- Google recommends using kotlin flow in MVVM architecture
- 【QT】自定义控件-空气质量仪表盘
- [hash table] improved, zipper hash structure - directly use two indexes to search, instead of hashing and% every time
- stm32Cubemx:看门狗------独立看门狗和窗口看门狗
猜你喜欢
ORB-SLAM3论文概述
Add console programs in UE
校园创客空间的硬件造物原理
stm32Cubemx:看门狗------独立看门狗和窗口看门狗
The difference between like,%, - in database query SQL
Components and routing
[solution] the blue screen restart problem of the virtual machine started by the VMware of Lenovo Savior
Overview of orb-slam3 paper
Camtasia 2022全新版超清录制电脑视频
Problems encountered in project deployment - production environment
随机推荐
Using meta analysis to drive the development of educational robot
Oracle connectivity issues and Solutions
Google recommends using kotlin flow in MVVM architecture
Survival analysis based on ovarian data set
解析创客空间机制建设的多样化
【QT】自定义控件-开关
给网站添加“开放搜索描述“以适配浏览器的“站点搜索“
Overview of orb-slam3 paper
Cox regression model
P2483-[template]k short circuit /[sdoi2010] Magic pig college [chairman tree, pile]
kotlin快速上手
Limit the input character length to 1 character in English and 2 characters in Chinese
Leetcode 176 The second highest salary (June 25, 2022)
Stm32cubemx: watchdog ------ independent watchdog and window watchdog
Additional: brief description of hikaricp connection pool; (I didn't go deep into it, but I had a basic understanding of hikaricp connection pool)
Is it safe to open an account in flush online? How to open a brokerage account online
Good news | congratulations on the addition of 5 new committers in Apache linkage (incubating) community
Please advise tonghuashun which securities firm to choose for opening an account? Is it safe to open an account online?
Qt编译出错ERROR: Unknown module(s) in QT: script
R language survival analysis