|
@@ -146,7 +146,7 @@ const getUnpaidOrderList = async () => {
|
|
|
const params = {
|
|
|
payPrice: (props.info.payPrice-0),
|
|
|
}
|
|
|
- if (!props.info.id?.includes('custom')) params.packageId = props.info.id
|
|
|
+ if (typeof props.info.id === 'string' && !props.info.id?.includes('custom')) params.packageId = props.info.id
|
|
|
const data = await setWalletRecharge(params)
|
|
|
payOrder.value = data || {}
|
|
|
if (isQrCodePay.value) paySubmit()
|