From 5a887acf1924950715086633d329db045223b5c4 Mon Sep 17 00:00:00 2001 From: liuwh <hugeinfo123> Date: Tue, 09 Jun 2020 14:47:27 +0800 Subject: [PATCH] test --- SunshineIns/src/page/Login.jsx | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/SunshineIns/src/page/Login.jsx b/SunshineIns/src/page/Login.jsx index 255143c..4917aee 100644 --- a/SunshineIns/src/page/Login.jsx +++ b/SunshineIns/src/page/Login.jsx @@ -23,7 +23,7 @@ } componentDidMount() { - document.title = '南沙区人民检察院阳光检务后台管理登录'; + document.title = '南沙区人民检察院便利化诉讼服务智能平台管理后台'; } //登录 onClick = (userName, password) => { @@ -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://120.79.193.119:9021/nsjc-charge/pc/index.html#/' } else { message.error(res.msg, 2) } -- Gitblit v1.8.0