|
@@ -134,10 +134,14 @@ export default {
|
|
const loadText = this.subType === 1 ? '绑定中...' : '支付中...'
|
|
const loadText = this.subType === 1 ? '绑定中...' : '支付中...'
|
|
const successMsg = this.subType === 1 ? '绑定成功' : '支付成功'
|
|
const successMsg = this.subType === 1 ? '绑定成功' : '支付成功'
|
|
const res = await this.PayService.orderPayQuickBindCode(this.codeParams, loadText)
|
|
const res = await this.PayService.orderPayQuickBindCode(this.codeParams, loadText)
|
|
- this.$util.msg(successMsg, 2000, true, 'success')
|
|
|
|
- setTimeout(() => {
|
|
|
|
|
|
+ if(this.subType === 1){
|
|
|
|
+ this.$util.msg(successMsg, 2000, true, 'success')
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.handleSuccessHref()
|
|
|
|
+ }, 2000)
|
|
|
|
+ }else{
|
|
this.handleSuccessHref()
|
|
this.handleSuccessHref()
|
|
- }, 2000)
|
|
|
|
|
|
+ }
|
|
} catch (error) {
|
|
} catch (error) {
|
|
console.log(error)
|
|
console.log(error)
|
|
this.$util.msg(error.msg, 2000)
|
|
this.$util.msg(error.msg, 2000)
|