forked from nsjcy/frontEnd/nsjcy

liuwh
2020-02-20 6383764128f9f38513df1a55449b230a7b29092a
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)