Skip to content

Commit 1bd695d

Browse files
committed
perf: 保留一个 dashboard 占位图
1 parent 0fe9d60 commit 1bd695d

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

src/pages/dashboard/components/Admin.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<script lang="ts" setup>
2-
import SvgAdmin from "../images/admin.svg?component" // vite-svg-loader 插件的功能
2+
import SvgDashboard from "../images/dashboard.svg?component" // vite-svg-loader 插件的功能
33
</script>
44
55
<template>
66
<div class="app-container center">
7-
<SvgAdmin class="svg" />
7+
<SvgDashboard class="svg" />
88
<p>欢迎来到「Admin」角色专属首页</p>
99
</div>
1010
</template>

src/pages/dashboard/components/Editor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<script lang="ts" setup>
2-
import SvgEditor from "../images/editor.svg?component" // vite-svg-loader 插件的功能
2+
import SvgDashboard from "../images/dashboard.svg?component" // vite-svg-loader 插件的功能
33
</script>
44
55
<template>
66
<div class="app-container center">
7-
<SvgEditor class="svg" />
7+
<SvgDashboard class="svg" />
88
<p>欢迎来到「Editor」角色专属首页</p>
99
</div>
1010
</template>

src/pages/dashboard/images/editor.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)