From 9b922aa1931c0c90be5b5fa709035fa0a7a3b300 Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Mon, 16 Dec 2024 18:51:30 +0800 Subject: [PATCH] no message --- js/common.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/common.js b/js/common.js index 105c7d9..fe5a264 100644 --- a/js/common.js +++ b/js/common.js @@ -52,7 +52,10 @@ function $ajaxget(url, data) { } ) .then(function (res) { + console.log("res", res) + var data = typeof res.data == "string" ? JSON.parse(res.data) : res.data + if (data.code == 401) { openShowWindow() reject()