src/components/header/index.jsx
@@ -148,8 +148,10 @@ cancelText: dict['cancel'] || '取消', onOk() { sessionStorage.clear() that.props.history.replace('/login') window.location.reload() setTimeout(() => { that.props.history.replace('/login') window.location.reload() }, 100) }, onCancel() {} })