From 12e9a4001d693505cc044fe2df0614257c26d535 Mon Sep 17 00:00:00 2001 From: liuwh <liuwh@hugeinfo.com.cn> Date: Sat, 14 Mar 2020 21:40:31 +0800 Subject: [PATCH] bug修复 --- 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..a25323a 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; if (res.code === 0) { - location.href = res.data; + // location.href = res.data; + // location.href ='http://localhost:8080/index.html#/' + location.href ='http://nsjcy.hugeinfo.com.cn/nsjc-charge/pc/index.html#/' } else { message.error(res.msg, 2) } -- Gitblit v1.8.0