From 58ae2ba21efcd85df331cf996a94038a77302b51 Mon Sep 17 00:00:00 2001
From: Mr Ke <kelq@hugeinfo.com.cn>
Date: Wed, 27 May 2020 17:07:48 +0800
Subject: [PATCH] 修改报错问题

---
 SunshineIns/src/page/Login.jsx |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/SunshineIns/src/page/Login.jsx b/SunshineIns/src/page/Login.jsx
index 255143c..4917aee 100644
--- a/SunshineIns/src/page/Login.jsx
+++ b/SunshineIns/src/page/Login.jsx
@@ -23,7 +23,7 @@
   }
 
   componentDidMount() {
-    document.title = '南沙区人民检察院阳光检务后台管理登录';
+    document.title = '南沙区人民检察院便利化诉讼服务智能平台管理后台';
   }
   //登录
   onClick = (userName, password) => {
@@ -38,8 +38,12 @@
       password = btoa(password);
     }
     Fetch.userLogin({ userName, password }).then(res => {
+      console.log(res)
+      // debugger;
       if (res.code === 0) {
-        location.href = res.data;
+        // location.href = res.data;
+        // location.href ='http://localhost:8080/index.html#/'
+        location.href ='http://120.79.193.119:9021/nsjc-charge/pc/index.html#/'
       } else {
         message.error(res.msg, 2)
       }

--
Gitblit v1.8.0