add meta.
This commit is contained in:
@@ -24,6 +24,8 @@ async function addProblem() {
|
||||
} catch (err: any) {
|
||||
if (err.data === "Duplicate display id in this contest") {
|
||||
message.error("显示编号重复了,请重新写一个")
|
||||
} else if (err.data === "Contest has ended") {
|
||||
message.error("这场比赛已经结束了,不能添加题目")
|
||||
} else {
|
||||
message.error(err.data)
|
||||
}
|
||||
|
||||
@@ -362,7 +362,7 @@ watch([fromExistingTags, newTags], (tags) => {
|
||||
<TextEditor
|
||||
v-if="ready"
|
||||
v-model:value="problem.description"
|
||||
title="题目本体"
|
||||
title="题目的描述"
|
||||
:min-height="300"
|
||||
/>
|
||||
<TextEditor
|
||||
|
||||
@@ -6,6 +6,7 @@ export const useConfigStore = defineStore("config", () => {
|
||||
async function getConfig() {
|
||||
const res = await getWebsiteConfig()
|
||||
config.value = res.data
|
||||
document.title = res.data.website_name
|
||||
}
|
||||
return {
|
||||
config,
|
||||
|
||||
@@ -10,7 +10,7 @@ import Icons from "unplugin-icons/vite"
|
||||
import Markdown from "vite-plugin-vue-markdown"
|
||||
import Shiki from "markdown-it-shiki"
|
||||
|
||||
const url = "https://oj.hyyz.izhai.net"
|
||||
const url = "https://ojtest.hyyz.izhai.net"
|
||||
const proxyConfig = {
|
||||
target: url,
|
||||
changeOrigin: true,
|
||||
|
||||
Reference in New Issue
Block a user