From 9dcc346205e2c96b28f2f561f439a29bc6c2a6dc Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期四, 16 四月 2026 15:34:06 +0800
Subject: [PATCH] 仅七天玉米价格,添加默认从粮食单价获取
---
fzzy-igdss-web/src/main/resources/templates/wx/home.html | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/fzzy-igdss-web/src/main/resources/templates/wx/home.html b/fzzy-igdss-web/src/main/resources/templates/wx/home.html
index e638e63..2c2a269 100644
--- a/fzzy-igdss-web/src/main/resources/templates/wx/home.html
+++ b/fzzy-igdss-web/src/main/resources/templates/wx/home.html
@@ -171,6 +171,13 @@
$(function () {
+ window.addEventListener('pageshow', function(event) {
+ // 濡傛灉椤甸潰鏄粠缂撳瓨涓仮澶嶇殑锛堝寘鎷悗閫�锛夛紝鍒欓噸鏂板姞杞�
+ if (event.persisted || performance.getEntriesByType('navigation')[0]?.type === 'back_forward') {
+ location.reload();
+ }
+ });
+
if (loginType == "WECHAT") {
$("#bind").css("display", "");
$("#unbind").css("display", "");
--
Gitblit v1.9.3