feat: add @pureadmin/utils

This commit is contained in:
xiaoxian521
2022-06-28 11:45:32 +08:00
parent 384d5e9598
commit af04611d6c
10 changed files with 143 additions and 218 deletions

View File

@@ -1,7 +1,11 @@
<script setup lang="ts">
import { ReGithub, ReInfinite, RePie, ReLine, ReBar } from "./components";
import { ref, computed } from "vue";
import Bar from "./components/Bar.vue";
import Pie from "./components/Pie.vue";
import Line from "./components/Line.vue";
import avatars from "/@/assets/avatars.jpg";
import Github from "./components/Github.vue";
import Infinite from "./components/Infinite.vue";
defineOptions({
name: "Welcome"
@@ -65,7 +69,7 @@ const openDepot = (): void => {
</template>
<el-skeleton animated :rows="7" :loading="loading">
<template #default>
<ReGithub />
<Github />
</template>
</el-skeleton>
</el-card>
@@ -99,7 +103,7 @@ const openDepot = (): void => {
</template>
<el-skeleton animated :rows="7" :loading="loading">
<template #default>
<ReInfinite />
<Infinite />
</template>
</el-skeleton>
</el-card>
@@ -133,7 +137,7 @@ const openDepot = (): void => {
</template>
<el-skeleton animated :rows="7" :loading="loading">
<template #default>
<RePie />
<Pie />
</template>
</el-skeleton>
</el-card>
@@ -167,7 +171,7 @@ const openDepot = (): void => {
</template>
<el-skeleton animated :rows="7" :loading="loading">
<template #default>
<ReLine />
<Line />
</template>
</el-skeleton>
</el-card>
@@ -201,7 +205,7 @@ const openDepot = (): void => {
</template>
<el-skeleton animated :rows="7" :loading="loading">
<template #default>
<ReBar />
<Bar />
</template>
</el-skeleton>
</el-card>