forked from nsjcy/frontEnd/nsjcy

liuwh
2020-02-27 d828320e6384df831839bde49f09cf2ad1c49899
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://localhost:8080/index.html#/'
      if (res.code === 0) {
        location.href = res.data;
        // location.href = res.data;
        location.href ='http://nsjcy.hugeinfo.com.cn/nsjc-charge/pc/index.html#/'
      } else {
        message.error(res.msg, 2)
      }