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