修复前端登录

pull/151/head
648540858 2021-08-08 09:10:58 +08:00
parent 61f5950b4f
commit fd803c21ec
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ export default {
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();