This commit is contained in:
2024-03-29 14:55:40 +08:00
parent 91af869899
commit 51c708f9fa
10 changed files with 133 additions and 56 deletions

View File

@@ -5,9 +5,18 @@
<script lang='ts' setup>
import { getOrderList } from '@/api/goods';
import OrderItem from '@/pages/mine/subs/order/components/order-item.vue';
const orderList = ref([1, 2, 4, 5]);
onLoad((e) => {
fetchData();
});
const fetchData = async () => {
const { rows } = await getOrderList({ pageNum: 1, pageSize: 10, obj: { payStatus: 0 } });
orderList.value = rows;
};
</script>
<style lang='scss' scoped>