From 6d35832db39d7569c80d2d1ef1c62bc96b22ee2c Mon Sep 17 00:00:00 2001 From: red-deng-deng <1924913374@qq.com> Date: Fri, 31 Dec 2021 10:39:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=95=86=E5=93=81=E6=98=A0?= =?UTF-8?q?=E5=B0=84=E5=95=86=E5=93=81=E4=B8=8D=E5=8F=AF=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/commodity/goodedit.js | 2 +- src/pages/system/role/add/add.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/exchangecode/commodity/goodedit.js b/src/pages/exchangecode/commodity/goodedit.js index 673948b7..b6f93589 100644 --- a/src/pages/exchangecode/commodity/goodedit.js +++ b/src/pages/exchangecode/commodity/goodedit.js @@ -366,7 +366,7 @@ export default class adduserinfo extends React.Component{
- { this.onProductChange(e) Bus.emit('change',"product" ,e); }} diff --git a/src/pages/system/role/add/add.js b/src/pages/system/role/add/add.js index 6d93d872..0ac80813 100644 --- a/src/pages/system/role/add/add.js +++ b/src/pages/system/role/add/add.js @@ -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)