This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user