操作按钮点击的方法
//办理按钮
handle(row){
if(row.id=="1"){
this.go('/yw/xmgl/xmgl/kgsq')
}else{
this.go('/yw/xmgl/xmgl/htps')
}
},
go方法
go(path){
const links = [...document.getElementsByTagName('a')];
const a = links.find(a=>a.getAttribute("href")===path)
if(a){
a.click()
}else{
alert("没有找到对应的链接")
}
},