商品详情

This commit is contained in:
2024-03-10 15:40:26 +08:00
parent 107783062b
commit 00013cb46c
34 changed files with 2244 additions and 65 deletions

View File

@@ -14,6 +14,7 @@
import AddressItem from './components/address-item.vue';
import { goPath } from '@/utils';
import { getAddressList } from '@/api/user';
const addressList = ref<{
name: string,
@@ -29,6 +30,15 @@ const addressList = ref<{
mobile: '13xxxxxx8900',
status: 0
}]);
onLoad((e) => {
fetchAddressList();
});
const fetchAddressList = async () => {
const { data } = await getAddressList();
addressList.value = data;
};
</script>
<style lang='scss' scoped>