添加对题目的评论
This commit is contained in:
@@ -15,6 +15,9 @@ const ProblemInfo = defineAsyncComponent(
|
||||
const ProblemSubmission = defineAsyncComponent(
|
||||
() => import("./components/ProblemSubmission.vue"),
|
||||
)
|
||||
const ProblemComment = defineAsyncComponent(
|
||||
() => import("./components/ProblemComment.vue"),
|
||||
)
|
||||
|
||||
interface Props {
|
||||
problemID: string
|
||||
@@ -69,6 +72,9 @@ onBeforeUnmount(() => {
|
||||
<n-tab-pane name="content" tab="题目描述">
|
||||
<ProblemContent />
|
||||
</n-tab-pane>
|
||||
<n-tab-pane name="comment" tab="题目点评">
|
||||
<ProblemComment />
|
||||
</n-tab-pane>
|
||||
<n-tab-pane name="info" tab="题目统计">
|
||||
<ProblemInfo />
|
||||
</n-tab-pane>
|
||||
@@ -84,6 +90,9 @@ onBeforeUnmount(() => {
|
||||
<n-tab-pane name="editor" tab="代码编辑">
|
||||
<Editor />
|
||||
</n-tab-pane>
|
||||
<n-tab-pane name="comment" tab="题目点评">
|
||||
<ProblemComment />
|
||||
</n-tab-pane>
|
||||
<n-tab-pane name="info" tab="题目统计">
|
||||
<ProblemInfo />
|
||||
</n-tab-pane>
|
||||
|
||||
Reference in New Issue
Block a user