Merge branch 'master' of codeup.aliyun.com:5f9118049cffa29cfdd3be1c/marketing/frontend

This commit is contained in:
姜棚 2021-12-02 17:36:17 +08:00
commit 0eeae4b376
2 changed files with 4 additions and 3 deletions

View File

@ -46,15 +46,15 @@ export default class topNav extends React.Component{
}
//返回
backFn(items){
this.setState({'pathname2':items.router});
sessionStorage.setItem('showflag',true)
sessionStorage.setItem('pathname2',items.router)
window.history.go(-1)
if(items.length>1){
sessionStorage.setItem('pathname2',items[0].path)
}
}
componentWillMount(){
}
render(){
let history0= window.history.length<=1;

View File

@ -328,6 +328,7 @@ export default class adduserinfo extends React.Component{
content: <p>是否取消本次操作</p>,
onConfirm:()=>{
window.history.back()
sessionStorage.setItem('pathname2','/home/system/account-list')
},
onCancel: this.onCancel,
className:'questModal',