From 131347ad63bb534b5abb6dbc979f0a47d780d8ff Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期三, 15 一月 2025 15:06:05 +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 8c75686..8a815e9 100644 --- a/Pda/View/login.html +++ b/Pda/View/login.html @@ -200,12 +200,12 @@ icon: 1, time: 500 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 }, function () { - $.cookie('token', res.data); + $.cookie('token', res.data,{ path: '/' }); //鍥炶皟 location.href="/View/index.html"; }); }else{//涓嶆垚鍔� - layer.msg(res.ErrorMsg, { + layer.msg(res.msg, { icon: 2, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 }, function () { -- Gitblit v1.8.0