Browse Source

Merge pull request 'feat: 过滤关闭状态的店铺' (#14) from dev into test

Reviewed-on: #14
pull/15/head v1.0.0-beta.9
朱志育 1 year ago
parent
commit
aad0d0a2cd
  1. 4
      src/js/helpers/data-helper.js

4
src/js/helpers/data-helper.js

@ -137,7 +137,9 @@ const getMallInfo = async (code) => {
);
const shopInfo = serverShopInfo.map(({ floorOrd: floorOrder, shopList }) => ({
floorOrder,
shopList: shopList.map((iot) => ({
shopList: shopList
.filter(({ status }) => status === 0)
.map((iot) => ({
...iot,
code: iot.shopCode,
houseNum: iot.houseNumber,

Loading…
Cancel
Save