disable tutorial management

This commit is contained in:
2025-03-10 19:19:35 +08:00
parent a2d0f42ae6
commit 01e10388e4
4 changed files with 9 additions and 3 deletions

View File

@@ -6,8 +6,10 @@
</n-button>
<n-button
v-for="item in menu"
:key="item.label"
:type="$route.name === item.route.name ? 'primary' : 'default'"
@click="$router.push(item.route)"
:disabled="item.disabled"
>
{{ item.label }}
</n-button>
@@ -24,6 +26,7 @@ const menu = [
{
label: "教程",
route: { name: "tutorial", params: { display: step.value } },
disabled: true
},
{ label: "用户", route: { name: "user-manage", params: { page: 1 } } },
]