Commit 86d10b71 by 李伟康

提交代码

1 parent 5310f4b9
...@@ -202,12 +202,12 @@ export default { ...@@ -202,12 +202,12 @@ export default {
}))}&redirectUrl=${redirectUrl}` }))}&redirectUrl=${redirectUrl}`
}) })
} }
else wxConfig.chooseWXPay(params).then(() => this.$router.push({ name: 'crowdfunding.success' })) else wxConfig.chooseWXPay(params).then(() => this.to('crowdfunding.success', { orderInfo }))
} else { } else {
if (window.$ISMiniprogram) wx.miniProgram.navigateTo({ if (window.$ISMiniprogram) wx.miniProgram.navigateTo({
url: `/pages/webView/webView?url=${encodeURIComponent(redirectUrl)}` url: `/pages/webView/webView?url=${encodeURIComponent(redirectUrl)}`
}) })
else this.$router.push({ name: 'crowdfunding.success' }) else this.to('crowdfunding.success', { orderInfo })
} }
} else this.showToast(message) } else this.showToast(message)
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!