Commit 29d6bc78 by zhangxw

bug

1 parent 7628dfd7
...@@ -52,7 +52,7 @@ Page({ ...@@ -52,7 +52,7 @@ Page({
currentSceneCode: item.sceneCode, currentSceneCode: item.sceneCode,
currentSceneName: item.name currentSceneName: item.name
}) })
this.getProducts(code) this.getProducts(item.sceneCode)
}, },
selectProduct(e) { selectProduct(e) {
const { item, index } = e.currentTarget.dataset const { item, index } = e.currentTarget.dataset
...@@ -80,6 +80,10 @@ Page({ ...@@ -80,6 +80,10 @@ Page({
USERINFO, USERINFO,
WXUSERINFO WXUSERINFO
} = this.getCommonData() } = this.getCommonData()
wx.showToast({
title: '提交中',
icon: 'loading'
})
reportData({ reportData({
openId: WXUSERINFO.openId || '', openId: WXUSERINFO.openId || '',
unionId: USERINFO.uuid || '', unionId: USERINFO.uuid || '',
...@@ -94,6 +98,7 @@ Page({ ...@@ -94,6 +98,7 @@ Page({
productDesc: arr2.join(','), productDesc: arr2.join(','),
shopId: USERINFO.merchantId || '' shopId: USERINFO.merchantId || ''
}, 2).then(res => { }, 2).then(res => {
wx.hideToast()
wx.$router.redirectTo('packageActivity.applySuccess') wx.$router.redirectTo('packageActivity.applySuccess')
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!