更新首页列表

This commit is contained in:
2023-11-01 19:03:01 +08:00
parent 9cf73331ea
commit 710f4b5eb9
35 changed files with 261 additions and 241 deletions

View File

@@ -37,7 +37,7 @@ const columns: DataTableColumn<Contest>[] = [
h(
NTag,
{ type: CONTEST_STATUS[row.status]["type"] },
() => CONTEST_STATUS[row.status]["name"]
() => CONTEST_STATUS[row.status]["name"],
),
},
{
@@ -95,13 +95,13 @@ watch(
() => {
query.page = 1
routerPush()
}
},
)
watch(
() => route.name === "contests" && route.query,
(newVal) => {
if (newVal) listContests()
}
},
)
function rowProps(row: Contest) {