fix.
This commit is contained in:
@@ -25,8 +25,6 @@ function goSubmissions() {
|
||||
router.push({ name, query: { problem: problem.value!._id } })
|
||||
}
|
||||
|
||||
function goTestCat() {}
|
||||
|
||||
function goEdit() {
|
||||
const data = router.resolve("/admin/problem/edit/" + problem.value!.id)
|
||||
window.open(data.href, "_blank")
|
||||
@@ -91,8 +89,8 @@ function changeLanguage(v: LANGUAGE) {
|
||||
</template>
|
||||
</n-button>
|
||||
</n-dropdown>
|
||||
<n-button v-if="isDesktop" @click="goSubmissions">提交信息</n-button>
|
||||
<TestCat v-if="isDesktop" />
|
||||
<n-button v-if="isDesktop" @click="goSubmissions">提交信息</n-button>
|
||||
<n-button
|
||||
v-if="isDesktop && userStore.isSuperAdmin"
|
||||
type="warning"
|
||||
|
||||
@@ -27,7 +27,7 @@ function clear() {
|
||||
@clickoutside="clear"
|
||||
>
|
||||
<template #trigger>
|
||||
<n-button>输入输出</n-button>
|
||||
<n-button>自测</n-button>
|
||||
</template>
|
||||
<n-space vertical>
|
||||
<n-input type="textarea" v-model:value="input" />
|
||||
|
||||
Reference in New Issue
Block a user