diff --git a/WebRoot/pindex.html b/WebRoot/pindex.html
index e0a2a702..ebe9c9f9 100644
--- a/WebRoot/pindex.html
+++ b/WebRoot/pindex.html
@@ -140,18 +140,11 @@
// 登出逻辑
admin.logout(function () {
- $.ajax({
- type: "GET",
- async: false,
- url: "/QingLong/loginPerson/logout",
- success: function (res) {
- if (res.success) {
- popup.success("注销成功", function () {
- location.href = "plogin.html";
- });
- }
- }
+
+ popup.success("注销成功", function () {
+ window.location = "/QingLong/loginPerson/logout";
});
+
return true;
});