fix
Some checks failed
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled

This commit is contained in:
2026-05-20 09:32:08 -06:00
parent 9093ba56e6
commit 2850887ce3
3 changed files with 23 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ import { addProblemForContest } from "admin/api"
interface Props {
problemID: number
contestID: string
nextDisplayId?: string
}
const props = defineProps<Props>()
const emit = defineEmits(["added"])
@@ -39,7 +40,7 @@ async function addProblem() {
</template>
<n-flex vertical>
<span>请输入在这场比赛中的显示编号</span>
<n-input autofocus v-model:value="displayID" />
<n-input autofocus v-model:value="displayID" :placeholder="props.nextDisplayId ?? ''" />
</n-flex>
</n-popconfirm>
</template>