修改后台目录和创建比赛的时间设置

This commit is contained in:
2025-05-09 20:56:40 +08:00
parent c05136a0be
commit 14462000c5
13 changed files with 187 additions and 123 deletions

View File

@@ -115,7 +115,16 @@ watchDebounced(() => query.keyword, listProblems, {
<template>
<n-flex class="titleWrapper" justify="space-between">
<h2 class="title">{{ title }}</h2>
<n-flex align="center">
<h2 class="title">{{ title }}</h2>
<n-button
v-if="!isContestProblemList"
type="primary"
@click="$router.push({ name: 'admin problem create' })"
>
新建
</n-button>
</n-flex>
<n-flex>
<n-button v-if="isContestProblemList" @click="createContestProblem">
新建比赛题目