解决角色管理新增后页面无跳转
This commit is contained in:
parent
a1b6a72ef0
commit
5d243384d9
|
@ -69,7 +69,8 @@ export default class addrole extends React.Component{
|
|||
Notify.clear();
|
||||
Notify.success(msg);
|
||||
setTimeout(()=>{
|
||||
window.history.back();
|
||||
// window.history.back();
|
||||
window.location.replace('#/home/system/role-list');
|
||||
},1000);
|
||||
},(err)=>{
|
||||
Notify.error(err)
|
||||
|
|
Loading…
Reference in New Issue