From d25d5769416fbb2e861e8f434c5a6770ff69c482 Mon Sep 17 00:00:00 2001 From: LAPTOP-RI7D261L\Mr Ke <545800322@qq.com> Date: Tue, 04 Feb 2020 12:03:34 +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