重构多个组件以优化代码格式和可读性,删除不必要的文件,更新类型定义,添加数据分析路由

This commit is contained in:
2025-03-27 18:37:01 +08:00
parent 8bcf201fd4
commit 24f1c413c4
115 changed files with 10879 additions and 2691 deletions

View File

@@ -3,7 +3,10 @@ import { NButton, NLayoutContent, NResult } from 'naive-ui'
</script>
<template>
<NLayoutContent tag="div" style="height: 100vh; position: relative">
<NLayoutContent
tag="div"
style="height: 100vh; position: relative"
>
<NResult
status="404"
title="404"
@@ -11,7 +14,13 @@ import { NButton, NLayoutContent, NResult } from 'naive-ui'
style="position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%)"
>
<template #footer>
<NButton type="primary" size="large" @click="$router.push({ name: 'index' })">返回首页</NButton>
<NButton
type="primary"
size="large"
@click="$router.push({ name: 'index' })"
>
返回首页
</NButton>
</template>
</NResult>
</NLayoutContent>