update
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-07-26 08:52:14 -06:00
parent dc853cd61f
commit 8d06fafbae

View File

@@ -83,7 +83,7 @@ const menuOptions = computed<DropdownOption[]>(() => {
} }
if (userStore.isTeacherOrAbove) { if (userStore.isTeacherOrAbove) {
options.push({ options.push({
label: "统计信息", label: "课堂统计",
key: "statistics", key: "statistics",
}) })
} }
@@ -237,10 +237,10 @@ onMounted(() => {
:size="buttonSize" :size="buttonSize"
@click="statisticPanel = true" @click="statisticPanel = true"
> >
统计信息 课堂统计
</n-button> </n-button>
<!-- 自测猫 / 复制代码 / 重置代码 / 编辑题目 收进下拉菜单移动端再加上提交信息 / 统计信息 --> <!-- 自测猫 / 复制代码 / 重置代码 / 编辑题目 收进下拉菜单移动端再加上提交信息 / 课堂统计 -->
<n-dropdown <n-dropdown
v-if="menuOptions.length" v-if="menuOptions.length"
trigger="click" trigger="click"