refactor: 问题列表的API重构

This commit is contained in:
2025-11-11 16:49:58 +08:00
parent 3e7b195002
commit a07d77dde7
3 changed files with 32 additions and 54 deletions

View File

@ -41,7 +41,7 @@
const { data, pending, error } = await useQuestionList();
const questions = computed(
() => data.value.map((item) => toQuestionListView(item)) ?? null
() => data.value.questions.map((item) => toQuestionListView(item)) ?? null
);
const productTypeOptions = computed(() => {