Update list.js

This commit is contained in:
姜棚 2021-11-26 21:04:28 +08:00
parent eea4d5e0b4
commit 7b869bd8ee
1 changed files with 3 additions and 1 deletions

View File

@ -457,9 +457,11 @@ export default class acclist extends React.Component{
} }
onEdit(e,row){ onEdit(e,row){
console.log("计划任务ID")
sessionStorage.setItem("plan_id",row.id)
let link = window.location.href.replace(window.location.hash,"#/home/plan-edit"); let link = window.location.href.replace(window.location.hash,"#/home/plan-edit");
window.open(link, "_blank") window.open(link, "_blank")
sessionStorage.setItem("plan_id",row.id)
} }
render(){ render(){
const { current, pageSize } = this.state; const { current, pageSize } = this.state;