From 63795271e63ed4ccd345cdcc63d2cf7f7376f65e Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期六, 17 八月 2024 15:45:01 +0800 Subject: [PATCH] 修改问题 --- Pda/View/login.html | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pda/View/login.html b/Pda/View/login.html index 837a106..8c75686 100644 --- a/Pda/View/login.html +++ b/Pda/View/login.html @@ -195,12 +195,12 @@ time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 }); } else { - if(res.code==200){//鎴愬姛 + if(res.code==0){//鎴愬姛 layer.msg('鐧婚檰鎴愬姛', { icon: 1, time: 500 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 }, function () { - $.cookie('token', res.ToKen.TokenStr); + $.cookie('token', res.data); //鍥炶皟 location.href="/View/index.html"; }); -- Gitblit v1.8.0