This commit is contained in:
dap
2025-01-01 12:57:20 +08:00
251 changed files with 619 additions and 959 deletions

View File

@@ -1,10 +1,11 @@
<script setup lang="ts">
import type { IProducts } from './typing';
import type { Ref } from 'vue';
import { type Ref, ref } from 'vue';
import type { IProducts } from './typing';
import { keepPreviousData, useQuery } from '@tanstack/vue-query';
import { Button } from 'ant-design-vue';
import { ref } from 'vue';
const LIMIT = 10;
const fetcher = async (page: Ref<number>): Promise<IProducts> => {