Commit b85f990d by 杨北旺

优化

1 parent 05271e03
...@@ -142,7 +142,7 @@ Page({ ...@@ -142,7 +142,7 @@ Page({
// 获取扫码链接带入的门店 // 获取扫码链接带入的门店
if (HAVE_ENTER && !this.fresh) { if (HAVE_ENTER && !this.fresh) {
const merchant = wx.p.storage.get('first_enter_merchantId') const merchant = wx.p.storage.get('first_enter_merchantId')
const ISNEWMERCHANT = MerchantList.includes(merchant) const ISNEWMERCHANT = MerchantList.includes(JSON.parse(merchant))
if(!ISNEWMERCHANT){ if(!ISNEWMERCHANT){
MerchantList.push(merchant) MerchantList.push(merchant)
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!