Forráskód Böngészése

Merge branch 'dynamicScale0609' into testNew

wyq 4 éve
szülő
commit
1fc72dbb0d
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/js/staticInfo.js

+ 1 - 1
src/js/staticInfo.js

@@ -167,7 +167,7 @@ function renderContentscale(list, contentWrapClassName, name) {
               str += '<span class="num">' + '(' + its.score + ')' + '</span>'
             }
             str += '</label>'
-            str += `${item.match ? `<img class="recommend" src=${recommend} />` : ``}</div>`
+            str += `${item.match == 1 ? `<img class="recommend" src=${recommend} />` : ``}</div>`
             $(".scale .infos .infos-box .infoWrapper .infoBox[data-id=" + it.parentId + "] .contentList .item-content[data-id=" + its.parentId + "]").append(str);
           }
         }