提交 251c4f3a authored 作者: lihuihui's avatar lihuihui

update

上级 e3616fa4
...@@ -277,15 +277,15 @@ export default { ...@@ -277,15 +277,15 @@ export default {
pay_type: parseInt(this.payMode) === 1 ? '1' : '11' pay_type: parseInt(this.payMode) === 1 ? '1' : '11'
} }
// 支付宝环境支付 // 支付宝环境支付
// if (this.isAlipay) { if (this.isAlipay) {
// params.pay_type = '12' params.pay_type = '12'
// const url = const url =
// window.location.href.indexOf('?') === -1 window.location.href.indexOf('?') === -1
// ? `${encodeURIComponent(window.location.href)}?qr=1` ? `${encodeURIComponent(window.location.href)}?qr=1`
// : `${encodeURIComponent(window.location.href)}&qr=1` : `${encodeURIComponent(window.location.href)}&qr=1`
// params.redirect_url = params.redirect_url =
// window.location.href.indexOf('qr') !== -1 ? encodeURIComponent(window.location.href) : url window.location.href.indexOf('qr') !== -1 ? encodeURIComponent(window.location.href) : url
// } }
// 微信环境支付 // 微信环境支付
if (this.isWx && parseInt(this.payMode) === 1) { if (this.isWx && parseInt(this.payMode) === 1) {
params.pay_type = '3' params.pay_type = '3'
......
...@@ -56,9 +56,6 @@ export default { ...@@ -56,9 +56,6 @@ export default {
computed: { computed: {
isCodeShow() { isCodeShow() {
let flag = true let flag = true
// if (/MicroMessenger/.test(window.navigator.userAgent) || /AlipayClient/.test(window.navigator.userAgent)) {
// flag = false
// }
if (parseInt(this.data.payMode) === 1 && /MicroMessenger/.test(window.navigator.userAgent)) { if (parseInt(this.data.payMode) === 1 && /MicroMessenger/.test(window.navigator.userAgent)) {
flag = false flag = false
} }
......
...@@ -55,7 +55,6 @@ export default { ...@@ -55,7 +55,6 @@ export default {
}, },
computed: { computed: {
setpItem() { setpItem() {
// console.log(this.stepList, this.$route.query.index)
let item = {} let item = {}
const queryIndex = parseInt(this.$route.query.index) const queryIndex = parseInt(this.$route.query.index)
if (queryIndex && queryIndex !== 0) { if (queryIndex && queryIndex !== 0) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论