forked from nsjcy/frontEnd/nsjcy

LAPTOP-RI7D261L\Mr Ke
2020-02-20 e7e9f3d7e83a7eb4ced6166b29f1f5cd8d0a3e19
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)
      }