Commit 07de9c6b by zhangxw

侧边栏切换门店修改

1 parent fe0b21b6
......@@ -29,10 +29,10 @@ Component({
}
})
console.log(storeList, 'copyStoreList');
let newArray = storeList.slice(0, 20)
// let newArray = storeList.slice(0, 20)
this.setData({
userInfo,
copyStoreList: newArray,
copyStoreList: storeList,
searchValue: '',
edit: false,
customSearchFlag: false,
......@@ -173,9 +173,9 @@ Component({
if (i.merchantId == selectedMerchantId) i.active = true
return i
})
let newArray = storeList.slice(0, 20)
// let newArray = storeList.slice(0, 20)
this.setData({
copyStoreList: newArray
copyStoreList: storeList
})
} else {
let arr = []
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!