feat(支付页): 完善选择地图后刷新支付方式的功能

This commit is contained in:
hzj 2025-09-08 10:17:09 +08:00
parent 2d4fdb3c75
commit 7052085059

View File

@ -141,7 +141,7 @@
</template>
<script setup>
import { onMounted, ref } from "vue";
import { onMounted, ref, watch } from "vue";
import MobileHeader from "../components/MobileHeader.vue";
import { searchUser, searchPayRechargeUser } from "@/api/userInfo";
// import { getUserIdentity } from "@/api/wallet";
@ -257,7 +257,7 @@ onMounted(async () => {
let appCommodityCardParams = {
applicationId: applicationId.value,
payCountryId: userInfo.body.countryList[0].id,
payCountryId: selectedCountry.value.id,
regionId: userInfo.body.regionId,
};
const appCommodityCard = await getAppCommodityCard(appCommodityCardParams);
@ -267,6 +267,10 @@ onMounted(async () => {
}
}
});
watch(selectedCountry, (New, Old) => {
console.log(`新值:${New.id},旧值:${Old.id}`);
});
</script>
<style scoped>