feat(loading): 写了个 loading 组件

This commit is contained in:
BTMuli
2023-03-24 14:13:04 +08:00
parent 62b1a195fc
commit b260c2538a
7 changed files with 92 additions and 16 deletions

View File

@@ -21,8 +21,8 @@
<v-btn @click="exportJson" prepend-icon="mdi-export" class="ms-2 top-btn"> 导出 </v-btn>
</template>
</v-app-bar>
<div v-if="loading" class="loading-bar">
<v-progress-circular indeterminate color="primary" />
<div v-if="loading">
<t-loading title="正在加载成就" />
</div>
<div v-else class="wrap">
<v-row class="wrap-view">
@@ -137,6 +137,7 @@ import {
ReadTGDataByKey,
UpdateTGDataByKey,
} from "../utils/TGIndex";
import TLoading from "../components/t-loading.vue";
// Store
const achievementsStore = useAchievementsStore();