From f49532ac0d698941c62f59a366a6f0dd9d4bdb95 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Fri, 26 Dec 2025 18:21:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E8=B4=A8=E5=9B=BE=E7=89=87=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/index.js b/js/index.js index 03601dd..bffd2a8 100644 --- a/js/index.js +++ b/js/index.js @@ -86,6 +86,10 @@ $(function () { isRecommend(); // 设置首页函数 function setIndexData(commentObj) { + // 清空容器,避免重复插入数据 + $("#certBox").empty(); + $("#partnerBox").empty(); + // 荣誉资质 if (commentObj.honor && commentObj.honor.length > 0) { commentObj.honor.forEach((item) => {