update
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
<template>
|
||||
<n-flex align="center" class="corner">
|
||||
<n-button secondary v-if="!show" @click="showTutorial">教程</n-button>
|
||||
<n-button secondary @click="$router.push({ name: 'submissions' })">
|
||||
查看
|
||||
</n-button>
|
||||
<template v-if="user.loaded && authed">
|
||||
<n-button
|
||||
type="primary"
|
||||
@@ -70,7 +67,7 @@ const menu = computed(() => [
|
||||
}),
|
||||
},
|
||||
{
|
||||
label: "我的提交",
|
||||
label: "提交列表",
|
||||
key: "submissions",
|
||||
icon: () =>
|
||||
h(Icon, {
|
||||
|
||||
@@ -15,7 +15,13 @@
|
||||
</template>
|
||||
<n-rate :size="30" @update:value="updateScore" />
|
||||
</n-popover>
|
||||
<n-button secondary type="info">智能打分</n-button>
|
||||
<n-button
|
||||
v-if="!submission.score && (roleAdmin || roleSuper)"
|
||||
secondary
|
||||
type="info"
|
||||
>
|
||||
智能打分
|
||||
</n-button>
|
||||
</template>
|
||||
</n-flex>
|
||||
</n-flex>
|
||||
|
||||
Reference in New Issue
Block a user