From 2bcd556961208b80af1cb157633c594faab1eca2 Mon Sep 17 00:00:00 2001 From: liuwh <liuwh@hugeinfo.com.cn> Date: Mon, 24 Feb 2020 00:11:18 +0800 Subject: [PATCH] 小程序代码 --- SunshineIns/src/page/Login.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SunshineIns/src/page/Login.jsx b/SunshineIns/src/page/Login.jsx index 7f75ce5..5e13db0 100644 --- a/SunshineIns/src/page/Login.jsx +++ b/SunshineIns/src/page/Login.jsx @@ -40,9 +40,9 @@ Fetch.userLogin({ userName, password }).then(res => { console.log(res) // debugger; - // location.href ='http://192.168.0.159:8080/index.html#/' + 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