Browse Source

更新applyFilters函数注释,明确过滤逻辑

pull/11/head
Default User 2 months ago
parent
commit
daa3d9bb3c
  1. 2
      pages/index/index.js

2
pages/index/index.js

@ -1300,7 +1300,7 @@ Page({
console.log('applyFilters - 开始过滤,原始商品数量:', goods.length, '关键词:', this.data.searchKeyword); console.log('applyFilters - 开始过滤,原始商品数量:', goods.length, '关键词:', this.data.searchKeyword);
// 筛选条件:销售价为空并且没有联系人信息的不显示在主页上 // 筛选条件:将没有联系人以及销售价的商品不显示在主页面
filtered = filtered.filter(item => { filtered = filtered.filter(item => {
// 广告位不受影响 // 广告位不受影响
if (item.isAd) { if (item.isAd) {

Loading…
Cancel
Save