From a801508b135b79b12d411af5a8d7e4059a7abf24 Mon Sep 17 00:00:00 2001
From: liuwh <liuwh@hugeinfo.com.cn>
Date: Sun, 23 Feb 2020 12:37:28 +0800
Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/nsjcy/frontEnd/nsjcy
---
SunshineIns/src/page/Login.jsx | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/SunshineIns/src/page/Login.jsx b/SunshineIns/src/page/Login.jsx
index 255143c..5e13db0 100644
--- a/SunshineIns/src/page/Login.jsx
+++ b/SunshineIns/src/page/Login.jsx
@@ -38,8 +38,12 @@
password = btoa(password);
}
Fetch.userLogin({ userName, password }).then(res => {
+ console.log(res)
+ // debugger;
+ location.href ='http://localhost:8080/index.html#/'
if (res.code === 0) {
- location.href = res.data;
+ // location.href = res.data;
+ // location.href ='http://192.168.0.159:8080/index.html#/'
} else {
message.error(res.msg, 2)
}
--
Gitblit v1.8.0