feat: 增加版本号功能

This commit is contained in:
2026-08-28 15:33:29 +08:00
parent 7021d9d525
commit 338ba726a0
3 changed files with 105 additions and 64 deletions

View File

@@ -26,6 +26,8 @@
<wd-cell size="large" title="存储详情" is-link @click="openStoragePopup"/>
</wd-cell-group>
<wd-text :text="`版本号:${appStore.version}`" custom-style="margin-top: 5px;display:block; text-align:center;"></wd-text>
<profile-popup />
<storage-popup />
@@ -44,10 +46,12 @@ import PlanPopup from "@/components/Profile/PlanPopup.vue";
import { computed, ref, watch } from 'vue'
import { getOverview, getPlan, getProfile } from '@/utils/profile'
import { useProfileStore } from '@/store/profile'
import { useAppStore } from "@/store/app";
import type { IProfile } from "@/type/profile";
import { countRecordsByMonth, getTotalCount } from "@/utils/record";
const profileStore = useProfileStore()
const appStore = useAppStore()
const profile = ref<IProfile>(getProfile())