代码拉取完成,页面将自动刷新
<!--
- MineAdmin is committed to providing solutions for quickly building web applications
- Please view the LICENSE file that was distributed with this source code,
- For the full copyright and license information.
- Thank you very much for using MineAdmin.
-
- @Author X.Mo<root@imoi.cn>
- @Link https://gitee.com/xmo/mineadmin-vue
-->
<script setup>
import { checkVersion } from 'version-rocket'
import { version, admin_name } from '../package.json'
import cn from '@arco-design/web-vue/es/locale/lang/zh-cn'
import en from '@arco-design/web-vue/es/locale/lang/en-us'
import { ref } from 'vue'
import { useAppStore } from './store'
const appStore = useAppStore()
const lang = ref(appStore.language === 'zh_CN' ? cn : en)
// checkVersion({
// localPackageVersion: version,
// originVersionFileUrl: `${location.origin}/version.json`,
// // 更多配置选项请参考 API
// },{
// title:admin_name,
// description:"有新版本更新",
// buttonText:"立即更新",
// // cancelButtonText:"稍后更新",
// })
</script>
<template>
<a-config-provider :locale="lang">
<router-view />
</a-config-provider>
</template>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。