From b3f5ed41aec3468b9f23e38c59958b36762bbc52 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Thu, 22 Oct 2026 10:41:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=96=87=E6=A1=88):=20=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E7=94=A8=E3=80=8C=E4=BB=96=E3=80=8D=E7=A7=B0=E5=91=BC=E5=AD=A6?= =?UTF-8?q?=E7=94=9F=EF=BC=8C=E7=94=B7=E7=94=9F=E5=A5=B3=E7=94=9F=E7=9C=8B?= =?UTF-8?q?=E7=9D=80=E9=83=BD=E5=88=AB=E6=89=AD=EF=BC=9B=E8=80=81=E5=B8=88?= =?UTF-8?q?=E7=9C=8B=E4=B8=BB=E9=A1=B5=E7=9A=84=E6=8C=89=E9=92=AE=E6=94=B9?= =?UTF-8?q?=E6=88=90=E3=80=8C=E6=99=BA=E8=83=BD=E5=88=86=E6=9E=90=E3=80=8D?= =?UTF-8?q?=E3=80=8C=E6=8F=90=E4=BA=A4=E8=AE=B0=E5=BD=95=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- apps/web/src/admin/ai/list.vue | 4 ++-- apps/web/src/oj/ai/analysis.vue | 2 +- apps/web/src/oj/ai/components/AiSummary.vue | 4 ++-- apps/web/src/oj/ai/components/LessonDays.vue | 2 +- apps/web/src/oj/ai/components/ProblemChip.vue | 6 +++--- apps/web/src/oj/classroom/board.vue | 2 +- apps/web/src/oj/problem/components/CollabBar.vue | 4 ++-- apps/web/src/oj/problem/components/PeerLatest.vue | 4 ++-- apps/web/src/oj/problem/components/ProblemDrawer.vue | 4 ++-- .../src/oj/problem/components/ProblemSubmission.vue | 2 +- .../src/oj/problem/components/WrongAnswerExplain.vue | 6 +++--- apps/web/src/oj/problem/detail.vue | 2 +- .../web/src/oj/rank/components/ClassDetailDrawer.vue | 4 ++-- apps/web/src/oj/rank/components/RankPodium.vue | 4 ++-- apps/web/src/oj/rank/components/RankTrack.vue | 6 +++--- apps/web/src/oj/rank/list.vue | 4 ++-- .../src/oj/submission/components/FlowchartPane.vue | 4 ++-- .../src/oj/submission/components/SubmissionPane.vue | 6 +++--- .../src/oj/submission/components/SubmissionView.vue | 8 ++++---- apps/web/src/oj/user/components/KnowledgeMap.vue | 2 +- apps/web/src/oj/user/components/ProfileCard.vue | 12 ++++++------ apps/web/src/oj/user/components/VersusCard.vue | 10 +++++----- apps/web/src/oj/user/index.vue | 6 ++---- apps/web/src/shared/components/HelpRequestList.vue | 6 +++--- 24 files changed, 56 insertions(+), 58 deletions(-) diff --git a/apps/web/src/admin/ai/list.vue b/apps/web/src/admin/ai/list.vue index bec6ba0..9edef19 100644 --- a/apps/web/src/admin/ai/list.vue +++ b/apps/web/src/admin/ai/list.vue @@ -20,7 +20,7 @@ const Markdown = defineAsyncComponent(() => import("shared/components/Markdown.v * 两行摘要),点哪份右边就是全文。原来是表格 + 弹框,看一份要点「查看」、关框、再点下一份。 * * 「PIN」(固定让这个学生在前台看这一份)线上 697 份里一次都没用过,从每行的按钮和页头那条 - * 锁定名单,收成正文右上角一个开关「固定给他看这份」。后端是切换语义:钉一份会顺手把这个学生 + * 锁定名单,收成正文右上角一个开关「固定给学生看这份」。后端是切换语义:钉一份会顺手把这个学生 * 别的那份取消,所以切完重拉列表 */ const theme = useThemeVars() @@ -154,7 +154,7 @@ watchDebounced( diff --git a/apps/web/src/oj/ai/analysis.vue b/apps/web/src/oj/ai/analysis.vue index 436b125..8aa2fe7 100644 --- a/apps/web/src/oj/ai/analysis.vue +++ b/apps/web/src/oj/ai/analysis.vue @@ -152,7 +152,7 @@ function goStudent(username: string | null | undefined) { -
正在看{{ username ? "他" : "你" }}的做题记录…
+
正在看{{ username ? "" : "你的" }}做题记录…
-

让 AI 按这些数据,写一段{{ username ? "给他" : "给你" }}的小结和下一步建议

+

让 AI 按这些数据,写一段{{ username ? "" : "给你的" }}小结和下一步建议

AI 帮我分析 diff --git a/apps/web/src/oj/ai/components/LessonDays.vue b/apps/web/src/oj/ai/components/LessonDays.vue index 4e66838..3175235 100644 --- a/apps/web/src/oj/ai/components/LessonDays.vue +++ b/apps/web/src/oj/ai/components/LessonDays.vue @@ -32,7 +32,7 @@ watch( ) const shown = computed(() => (showAll.value ? props.days : props.days.slice(0, DAY_CAP))) -const you = computed(() => (props.username ? "他" : "你")) +const you = computed(() => (props.username ? "" : "你")) const subtitle = computed(() => props.className ? `${classLabel(props.className)}课上做的题,加上${you.value}自己练的` diff --git a/apps/web/src/oj/ai/components/ProblemChip.vue b/apps/web/src/oj/ai/components/ProblemChip.vue index 605ca00..b47a86e 100644 --- a/apps/web/src/oj/ai/components/ProblemChip.vue +++ b/apps/web/src/oj/ai/components/ProblemChip.vue @@ -12,12 +12,12 @@ const props = defineProps<{ item: LearningItem /** 课上的题才说「班上第几个做对」;自己练的题同学大多没做,排第几没意义 */ inLesson: boolean - /** 老师在看这个学生:称呼用「他」,点进去看他的提交 */ + /** 老师在看这个学生:不称呼(分不出男女),点进去看这个学生的提交 */ username?: string }>() const theme = useThemeVars() -const you = computed(() => (props.username ? "他" : "你")) +const you = computed(() => (props.username ? "" : "你")) const problemLink = computed(() => `/problem/${props.item.displayId}`) const submissionLink = computed(() => ({ @@ -67,7 +67,7 @@ const detail = computed(() => {
{{ detail.filter(Boolean).join(" · ") }} 看{{ you }}的提交 ›{{ username ? "看提交" : "看你的提交" }} › 去做 ›
diff --git a/apps/web/src/oj/classroom/board.vue b/apps/web/src/oj/classroom/board.vue index f052213..af3c318 100644 --- a/apps/web/src/oj/classroom/board.vue +++ b/apps/web/src/oj/classroom/board.vue @@ -680,7 +680,7 @@ function lastText(student: ClassBoardStudent) { size="tiny" @click="help(student.userId)" > - 帮他 · {{ helpOf(student)!.problemId }} + 去帮 · {{ helpOf(student)!.problemId }}
{{ helpOf(student)!.teacherName }} 在帮 diff --git a/apps/web/src/oj/problem/components/CollabBar.vue b/apps/web/src/oj/problem/components/CollabBar.vue index 02b2e14..01c9bc7 100644 --- a/apps/web/src/oj/problem/components/CollabBar.vue +++ b/apps/web/src/oj/problem/components/CollabBar.vue @@ -35,7 +35,7 @@ const waited = computed(() => { const next = computed(() => collabStore.nextRequest) /** - * 「看他交过什么」:只看这个学生、这道题。开新标签 —— 跳走这一页协作就断了。 + * 「看学生交过什么」:只看这个学生、这道题。开新标签 —— 跳走这一页协作就断了。 * exactUsername:整名匹配,不然学号相近的同学(ks24a1 / ks24a10…)会混进来 */ function openHisSubmissions() { @@ -81,7 +81,7 @@ function finishAndNext() { 举手 {{ waited }} - +
diff --git a/apps/web/src/oj/problem/components/ProblemDrawer.vue b/apps/web/src/oj/problem/components/ProblemDrawer.vue index a7aae0a..35820dc 100644 --- a/apps/web/src/oj/problem/components/ProblemDrawer.vue +++ b/apps/web/src/oj/problem/components/ProblemDrawer.vue @@ -71,7 +71,7 @@ watch( }, ) -// 协作中的老师看的是学生的提交(ProblemSubmission 里按学生用户名查),页签写「他的提交」 +// 协作中的老师看的是学生的提交(ProblemSubmission 里按学生用户名查),页签写「学生的提交」 const teacherCollab = useTeacherCollab() /** @@ -127,7 +127,7 @@ function goAllSubmissions() { :aria-selected="lastOpened === key" @click="open = key" > - {{ key === "submission" && teacherCollab ? "他的提交" : DRAWER_TITLE[key] }} + {{ key === "submission" && teacherCollab ? "学生的提交" : DRAWER_TITLE[key] }}