feat: 修复版本号问题
feat: 修复版本号问题
This commit is contained in:
commit
0afc7bb791
@ -16,23 +16,23 @@
|
|||||||
>
|
>
|
||||||
<div class="flex align-center cursor">
|
<div class="flex align-center cursor">
|
||||||
<AppIcon iconName="app-reading" class="mr-16 ml-8" style="font-size: 24px"></AppIcon>
|
<AppIcon iconName="app-reading" class="mr-16 ml-8" style="font-size: 24px"></AppIcon>
|
||||||
<span>{{ $t("layout.topbar.wiki") }}</span>
|
<span>{{ $t('layout.topbar.wiki') }}</span>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card shadow="hover" class="mb-16" @click="toUrl('https://github.com/1Panel-dev/MaxKB')">
|
<el-card shadow="hover" class="mb-16" @click="toUrl('https://github.com/1Panel-dev/MaxKB')">
|
||||||
<div class="flex align-center cursor">
|
<div class="flex align-center cursor">
|
||||||
<AppIcon iconName="app-github" class="mr-16 ml-8" style="font-size: 24px"></AppIcon>
|
<AppIcon iconName="app-github" class="mr-16 ml-8" style="font-size: 24px"></AppIcon>
|
||||||
<span>{{ $t("layout.topbar.github") }}</span>
|
<span>{{ $t('layout.topbar.github') }}</span>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card shadow="hover" class="mb-16" @click="toUrl('https://bbs.fit2cloud.com/c/mk/11')">
|
<el-card shadow="hover" class="mb-16" @click="toUrl('https://bbs.fit2cloud.com/c/mk/11')">
|
||||||
<div class="flex align-center cursor">
|
<div class="flex align-center cursor">
|
||||||
<AppIcon iconName="app-help" class="mr-16 ml-8" style="font-size: 24px"></AppIcon>
|
<AppIcon iconName="app-help" class="mr-16 ml-8" style="font-size: 24px"></AppIcon>
|
||||||
<span>{{ $t("layout.topbar.forum") }}</span>
|
<span>{{ $t('layout.topbar.forum') }}</span>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center">{{ $t("layout.topbar.avatar.version") }}:{{ version }}</div>
|
<div class="text-center">{{ $t('layout.topbar.avatar.version') }}:{{ user.version }}</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
@ -41,7 +41,6 @@ import useStore from '@/stores'
|
|||||||
const defaultTitle = import.meta.env.VITE_APP_TITLE
|
const defaultTitle = import.meta.env.VITE_APP_TITLE
|
||||||
|
|
||||||
const { user } = useStore()
|
const { user } = useStore()
|
||||||
const version = user.version
|
|
||||||
|
|
||||||
const aboutDialogVisible = ref(false)
|
const aboutDialogVisible = ref(false)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user