This commit is contained in:
@@ -86,6 +86,10 @@ $(function () {
|
|||||||
isRecommend();
|
isRecommend();
|
||||||
// 设置首页函数
|
// 设置首页函数
|
||||||
function setIndexData(commentObj) {
|
function setIndexData(commentObj) {
|
||||||
|
// 清空容器,避免重复插入数据
|
||||||
|
$("#certBox").empty();
|
||||||
|
$("#partnerBox").empty();
|
||||||
|
|
||||||
// 荣誉资质
|
// 荣誉资质
|
||||||
if (commentObj.honor && commentObj.honor.length > 0) {
|
if (commentObj.honor && commentObj.honor.length > 0) {
|
||||||
commentObj.honor.forEach((item) => {
|
commentObj.honor.forEach((item) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user