评阅页不显示项目资源类;编译、往返时间只给老师看
CI/CD / test (push) Canceled after 0s
CI/CD / deploy (push) Canceled after 0s

- 评阅页的代码标签不再列出平台生成的 Properties/Resources.Designer.cs(和实验页一致)
- 自由练习里编译、启动、往返时间只给老师显示,学生看不到这些开发用的数字

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-10-25 18:56:07 +08:00
1 parent c217eb5ca0
commit e8058376dd
2 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -507,7 +507,7 @@ function run() {
</NPopconfirm>
<span v-if="!viewing" class="save-state" :class="saveState">{{ SAVE_TEXT[saveState] }}</span>
<NTag :type="statusType">{{ STATUS_TEXT[state.status] }}</NTag>
<span v-if="!assignmentId && !viewing" class="metrics">
<span v-if="!assignmentId && !viewing && currentUser?.role === 'teacher'" class="metrics">
编译 {{ state.metrics.compileMs }} ms · 启动 {{ state.metrics.startMs }} ms · 最近一次操作往返
{{ state.metrics.lastRoundTripMs }} ms
</span>
@@ -649,7 +649,7 @@ function run() {
font-size: 12px;
}
/* 编译、往返时间是给开发看的,屏幕窄时(机房常见 1366 宽)不显示,免得工具栏挤成两行 */
/* 编译、往返时间只给老师看,屏幕窄时(机房常见 1366 宽)也不显示,免得工具栏挤成两行 */
@media (max-width: 1599px) {
.metrics {
display: none;