From df79f2a0702de355d96c6889adf61977b4284005 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期四, 19 三月 2026 19:35:00 +0800
Subject: [PATCH] 1.修复登录页面 2.新增强制入库或者正常入库
---
src/main/webapp/views/index.html | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index 642c1aa..106292b 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -112,6 +112,11 @@
top.location.href = "login.html?license=invalid";
}
+ function clearLicensePromptState() {
+ sessionStorage.removeItem("licensePanelAutoOpen");
+ sessionStorage.removeItem("licenseInvalidReason");
+ }
+
$(function () {
if ("" === localStorage.getItem('token')) {
top.location.href = baseUrl + "/login";
@@ -171,9 +176,12 @@
redirectToLicensePage('绯荤粺褰撳墠鏈娴嬪埌鍙敤璁稿彲璇侊紝璇烽噸鏂板鍏ユ柊鐨勮鍙瘉銆�');
return;
}
+ clearLicensePromptState();
if (days <= 30) {
$("#licenseShow").show()
$("#licenseDays").html(days)
+ } else {
+ $("#licenseShow").hide()
}
}else {
redirectToLicensePage(res.msg || '璁稿彲璇佹牎楠屽け璐ワ紝璇烽噸鏂板鍏ユ柊鐨勮鍙瘉銆�');
--
Gitblit v1.9.1