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