From cc9b6c6bcedf265549d70ac0c99eb0629fad98a2 Mon Sep 17 00:00:00 2001 From: LAPTOP-RI7D261L\Mr Ke <545800322@qq.com> Date: Thu, 20 Feb 2020 10:35:45 +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