Commit 82561fc0 by chenwq

众筹没有默认商户报错

1 parent abfb9b56
...@@ -2706,7 +2706,7 @@ export default { ...@@ -2706,7 +2706,7 @@ export default {
this.$apis.seckillActivity.getPayListApi({}).then(res => { this.$apis.seckillActivity.getPayListApi({}).then(res => {
this.baseData.payList = res this.baseData.payList = res
this.editForm.paymentAccountSource = this.editForm.paymentAccountSource || '1' this.editForm.paymentAccountSource = this.editForm.paymentAccountSource || '1'
this.editForm.paymentAccountId = this.editForm.paymentAccountId || this.editForm.payMannerId || res.find(item => item.isDefault == 'Y').id this.editForm.paymentAccountId = this.editForm.paymentAccountId || this.editForm.payMannerId || res.find(item => item.isDefault == 'Y')?.id
this.getPayMerchatList() this.getPayMerchatList()
}) })
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!