Ai
30 Star 330 Fork 193

MineAdmin/MineAdmin-Vue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
App.vue 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
青衣煮茶 提交于 2023-05-19 21:52 +08:00 . fix
<!--
- 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>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/mineadmin/mineadmin-vue.git
git@gitee.com:mineadmin/mineadmin-vue.git
mineadmin
mineadmin-vue
MineAdmin-Vue
main

搜索帮助