From ab9bc98c6f9ab820f7f4f343b524f7b8310ef272 Mon Sep 17 00:00:00 2001
From: LAPTOP-RI7D261L\Mr Ke <545800322@qq.com>
Date: Mon, 17 Feb 2020 10:30:42 +0800
Subject: [PATCH] 南沙小程序修改
---
SunshineIns/src/page/Login.jsx | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/SunshineIns/src/page/Login.jsx b/SunshineIns/src/page/Login.jsx
index 255143c..7f75ce5 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://192.168.0.159:8080/index.html#/'
if (res.code === 0) {
location.href = res.data;
+ // location.href ='http://192.168.0.159:8080/index.html#/'
} else {
message.error(res.msg, 2)
}
--
Gitblit v1.8.0