From 81c3fd3ac5017591d987d9c9fe42042fae5c7d7d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 30 十一月 2021 14:30:47 +0800
Subject: [PATCH] 2021-11-30

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

diff --git a/src/views/login/index.jsx b/src/views/login/index.jsx
index c333d44..ee716bc 100644
--- a/src/views/login/index.jsx
+++ b/src/views/login/index.jsx
@@ -390,6 +390,13 @@
             this.setState({
               auth: true
             })
+
+            if (res.warning_day && res.warning_day < 20) {
+              Modal.warning({
+                title: `璺濈鎺堟潈鍒版湡杩樺墿${res.warning_day}澶╋紝璇疯仈绯荤鐞嗗憳銆俙,
+                okText: '鐭ラ亾浜�'
+              })
+            }
           } else {
             localStorage.removeItem(_authUrl)
             this.setState({

--
Gitblit v1.8.0