Skip to content

Commit

Permalink
perf: 保留一个 dashboard 占位图
Browse files Browse the repository at this point in the history
  • Loading branch information
pany-ang committed Nov 28, 2024
1 parent 0fe9d60 commit 1bd695d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/pages/dashboard/components/Admin.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<script lang="ts" setup>
import SvgAdmin from "../images/admin.svg?component" // vite-svg-loader 插件的功能
import SvgDashboard from "../images/dashboard.svg?component" // vite-svg-loader 插件的功能
</script>

<template>
<div class="app-container center">
<SvgAdmin class="svg" />
<SvgDashboard class="svg" />
<p>欢迎来到「Admin」角色专属首页</p>
</div>
</template>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/dashboard/components/Editor.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<script lang="ts" setup>
import SvgEditor from "../images/editor.svg?component" // vite-svg-loader 插件的功能
import SvgDashboard from "../images/dashboard.svg?component" // vite-svg-loader 插件的功能
</script>

<template>
<div class="app-container center">
<SvgEditor class="svg" />
<SvgDashboard class="svg" />
<p>欢迎来到「Editor」角色专属首页</p>
</div>
</template>
Expand Down
File renamed without changes
1 change: 0 additions & 1 deletion src/pages/dashboard/images/editor.svg

This file was deleted.

0 comments on commit 1bd695d

Please sign in to comment.