From 6cc278a2ffb418d1172ed84cf3b0b554b090cc8b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 28 七月 2021 14:29:50 +0800 Subject: [PATCH] 2021-07-28 --- src/views/login/loginform.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/login/loginform.jsx b/src/views/login/loginform.jsx index 8dff444..3e19642 100644 --- a/src/views/login/loginform.jsx +++ b/src/views/login/loginform.jsx @@ -19,6 +19,7 @@ handleSubmit: PropTypes.func, dict: PropTypes.object, auth: PropTypes.bool, + authError: PropTypes.string, touristLogin: PropTypes.bool, lang: PropTypes.string, langList: PropTypes.array, @@ -110,9 +111,9 @@ e.preventDefault() if (!this.props.auth) { warning({ - title: this.props.dict['login.auth.tip'], - okText: this.props.dict['login.auth.ok'], - cancelText: this.props.dict['login.auth.cancel'], + title: this.props.authError || this.props.dict['login.auth.tip'], + okText: this.props.dict['login.ok'], + cancelText: this.props.dict['login.cancel'], onOk() {}, onCancel() {} }) -- Gitblit v1.8.0