优化
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user