diff --git a/pages/pay/index.vue b/pages/pay/index.vue index 46e3eafd..103e9e4d 100644 --- a/pages/pay/index.vue +++ b/pages/pay/index.vue @@ -174,6 +174,12 @@ return } state.payMethods = getPayMethods(data) + state.payMethods.find(item => { + if (item.value && !item.disabled) { + state.payment = item.value; + return true; + } + }); } onLoad((options) => {