Commit 79e7857b by 杨北旺

修复默认门店

1 parent b85f990d
...@@ -143,6 +143,7 @@ Page({ ...@@ -143,6 +143,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(JSON.parse(merchant)) const ISNEWMERCHANT = MerchantList.includes(JSON.parse(merchant))
this.defaultMerchant = 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!