feat: 文档库/问题库的分页功能 #91

Manually merged
remilia merged 3 commits from feat/pagination into master 2025-12-02 15:31:50 +08:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit dbe75ee080 - Show all commits

View File

@ -101,19 +101,19 @@
defineProps({
productTypeOptions: {
type: Array as () => Array<{ id: number; name: string }>,
type: Array as () => Array<DocumentListProductType>,
default: () => [],
},
productOptions: {
type: Array as () => Array<{ id: number; name: string }>,
type: Array as () => Array<DocumentListProduct>,
default: () => [],
},
});
const model = defineModel<{
keyword: string;
selectedType: number | null;
selectedProduct: number | null;
selectedType: string | null;
selectedProduct: string | null;
}>();
</script>

View File

@ -30,8 +30,8 @@
];
const filters = reactive({
selectedType: null as number | null,
selectedProduct: null as number | null,
selectedType: null as string | null,
selectedProduct: null as string | null,
keyword: '',
});