From f0734d1c09b377d91953491f29c7af7e631fe729 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 21 十一月 2019 09:19:59 +0800
Subject: [PATCH] 2019-11-21-01

---
 src/views/login/index.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/login/index.jsx b/src/views/login/index.jsx
index 10a2908..ddbdb1f 100644
--- a/src/views/login/index.jsx
+++ b/src/views/login/index.jsx
@@ -10,7 +10,7 @@
 import logourl from '../../assets/img/login-logo.png'
 import './index.scss'
 
-const { confirm } = Modal
+const { warning } = Modal
 
 class Login extends Component {
   constructor (props) {
@@ -59,7 +59,7 @@
     // 鐧诲綍鍙傛暟妫�楠�
     e.preventDefault()
     if (!this.state.auth) {
-      confirm({
+      warning({
         title: this.state.dict['login.auth.tip'],
         okText: this.state.dict['login.auth.ok'],
         cancelText: this.state.dict['login.auth.cancel'],

--
Gitblit v1.8.0