fix
Deploy / deploy (push) Canceled after 0s

This commit is contained in:
xuyue committed 2026-10-08 12:29:35 +08:00
1 parent af63b05d4b
commit bde387e8bc
3 files changed
+20 -3

No files matched your search

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { getProblemList } from "admin/api"
import { getLibraryProblemList } from "admin/api"
import Pagination from "shared/components/Pagination.vue"
import type { AdminProblemRow } from "utils/types"
import AddButton from "./AddButton.vue"
@@ -44,7 +44,7 @@ const columns: DataTableColumn<AdminProblemRow>[] = [
async function getList() {
const offset = (query.page - 1) * query.limit
const res = await getProblemList(offset, query.limit, query.keyword, "", "")
const res = await getLibraryProblemList(offset, query.limit, query.keyword)
total.value = res.total
problems.value = res.results
}