File management

This commit is contained in:
2025-07-27 00:29:59 +08:00
parent 02af78ca99
commit 46612b28aa
6 changed files with 250 additions and 13 deletions

View File

@@ -16,7 +16,7 @@
</template>
<script setup lang="ts">
import { DataUsageRound } from '@vicons/material'
import { DataUsageRound, AllInboxFilled } from '@vicons/material'
import { NIcon, NLayout, NLayoutSider, NMenu, type MenuOption } from 'naive-ui'
import { h, type Component } from 'vue'
import { RouterView, useRoute, useRouter } from 'vue-router'
@@ -34,6 +34,11 @@ const menuOptions: MenuOption[] = [
key: 'dashboardUsage',
icon: renderIcon(DataUsageRound),
},
{
label: 'Files',
key: 'dashboardFiles',
icon: renderIcon(AllInboxFilled),
}
]
function updateMenuSelect(key: string) {