修改从新接口获取数据
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-11-21 13:42:46 +08:00
parent e0f872bf3d
commit fafc958811

View File

@@ -280,14 +280,11 @@ $(function () {
$("#shopping-cart").click(function () {
location.href = "/cart/shoppingCar.htm";
});
}
function initFooter() {
if (!sessionStorage.commentData) {
getCommentInfo();
} else {
setCommData();
}
}
}
function initFooter() {
// 始终从后端获取最新通用配置,避免缓存导致配置不生效
getCommentInfo();
}
// 首页渲染
// $("#header").load("/web/default/public/header.html", function () {
// initHeader();