This commit is contained in:
wxx 2024-11-14 16:20:55 +08:00
parent 7e0d9dba92
commit 6bf97f0280

View File

@ -251,6 +251,7 @@ const ampuntList = ref<Array<AmountProps>>([]);
onMounted(async () => { onMounted(async () => {
await getPayClass(); await getPayClass();
await getData(); await getData();
await checkBank(0);
}); });
const amounts = computed(() => { const amounts = computed(() => {
@ -460,6 +461,9 @@ const getUpdate = async (list) => {
} }
const isNeedAccount = ref(false); const isNeedAccount = ref(false);
const checkBank = (index: number) => { const checkBank = (index: number) => {
console.log('====================================');
console.log(index);
console.log('====================================');
currentBankIndex.value = index; currentBankIndex.value = index;
const tempPay = payList.value[currentBankIndex.value]; const tempPay = payList.value[currentBankIndex.value];
data.method = tempPay.value; data.method = tempPay.value;