Commit d38eeb41 by 张立顺

众筹支付 bug修复

1 parent 845a3d53
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* 2测试 * 2测试
* 3生产环境 * 3生产环境
*/ */
let index = 1 let index = 2
const accountInfo = wx.getAccountInfoSync() const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync() const systemInfo = wx.getSystemInfoSync()
......
...@@ -222,7 +222,7 @@ Page({ ...@@ -222,7 +222,7 @@ Page({
async handleTab(e) { async handleTab(e) {
console.log(e.target.dataset) console.log(e.target.dataset)
const { id: orderPaySource } = e.target.dataset.item const { id: orderPaySource } = e.target.dataset.item
let { orderCode } = this.data let { orderCode,outTradeNo } = this.data
this.setData({ this.setData({
orderPaySource orderPaySource
}) })
...@@ -233,10 +233,10 @@ Page({ ...@@ -233,10 +233,10 @@ Page({
}) })
let { code, data } = result let { code, data } = result
if (code != 0) return if (code != 0) return
this.posPay(data.outTradeNo) this.posPay(outTradeNo)
} }
// orderPaySource == 3 ? this.posPay(data.outTradeNo) : this.createWxQrcode() orderPaySource == 3 ? this.posPay(outTradeNo) : this.createWxQrcode()
}, },
back() { back() {
wx.$router.back() wx.$router.back()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!