From f5b834e911ac20929f8f88ec4b773d9370a98621 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 14 九月 2024 21:13:00 +0800 Subject: [PATCH] 2024-09-14 --- src/components/header/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/header/index.jsx b/src/components/header/index.jsx index 8cf0ff8..2edc3e1 100644 --- a/src/components/header/index.jsx +++ b/src/components/header/index.jsx @@ -117,7 +117,7 @@ logout = () => { const { dict } = this.state // 閫�鍑虹櫥褰� - let _this = this + let that = this confirm({ title: dict['logout_query'] || '鎮ㄧ‘瀹氳閫�鍑哄悧锛�', content: '', @@ -125,7 +125,7 @@ cancelText: dict['cancel'] || '鍙栨秷', onOk() { sessionStorage.clear() - _this.props.history.replace('/login') + that.props.history.replace('/login') window.location.reload() }, onCancel() {} @@ -428,7 +428,7 @@ if (!isNaN(s) && s > 90) { Modal.warning({ width: 520, - title: <span>绯荤粺妫�娴嬪埌鎮ㄧ殑璐︽埛瀛樺湪椋庨櫓锛岃鍙婃椂鍒�<a target="_blank" rel="noopener noreferrer" href="https://cloud.mk9h.cn/admin/index.html">浜戜腑蹇�</a>淇敼瀵嗙爜锛�</span>, + title: <span>绯荤粺妫�娴嬪埌鎮ㄧ殑璐︽埛瀛樺湪椋庨櫓锛岃鍙婃椂鍒�<a target="_blank" rel="noopener noreferrer" href="https://cloud.positecgroup.com/admin/index.html">浜戜腑蹇�</a>淇敼瀵嗙爜锛�</span>, okText: '鐭ラ亾浜�' }) return -- Gitblit v1.8.0