648540858
2021-08-08 fd803c21ec5d36758d4914b4dfdc46314e33d6be
web_src/src/components/Login.vue
@@ -80,11 +80,11 @@
      this.$axios({
         method: 'get',
         url:"/api/user/login",
        url:"/api/user/login",
        params: loginParam
      }).then(function (res) {
        console.log(JSON.stringify(res));
          if (res.data == "success") {
          if (res.data.code == 0 && res.data.msg == "success") {
            that.$cookies.set("session", {"username": that.username}) ;
            //登录成功后
            that.cancelEnterkeyDefaultAction();