feat: add title

pull/3/head
xingyuv 2023-03-24 14:38:08 +08:00
parent fc1d741b22
commit a39fc77f11
5 changed files with 7 additions and 8 deletions

2
.env
View File

@ -5,7 +5,7 @@ VITE_PORT = 80
VITE_GLOB_APP_TITLE = 芋道管理系统
# 简称,用于配置文件名字 不要出现空格、数字开头等特殊字符
VITE_GLOB_APP_SHORT_NAME = Vben
VITE_GLOB_APP_SHORT_NAME = Yudao_Admin
# 租户开关
VITE_GLOB_APP_TENANT_ENABLE = true

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020-present, Vben
Copyright (c) 2023-present, xingyuv
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -6,10 +6,6 @@
[gitee](https://gitee.com/xingyuv/vue-vben-admin)
[github](https://github.com/xingyuv/vue-vben-admin)
## 后台
[gitee](https://gitee.com/zhijiantianya/ruoyi-vue-pro)
[github](https://github.com/YunaiV/ruoyi-vue-pro)
## 预览地址
[预览地址](http://vben.x-surge.com)

View File

@ -7,7 +7,7 @@
<a @click="openWindow(DOC_URL)">{{ t('layout.footer.onlineDocument') }}</a>
</div>
<div>Copyright &copy;2020 Vben Admin</div>
<div>Copyright &copy;2023 {{ SITE_TITLE }}</div>
</Footer>
</template>
@ -26,7 +26,10 @@ import { useRouter } from 'vue-router'
import { useDesign } from '@/hooks/web/useDesign'
import { useLayoutHeight } from '../content/useContentViewHeight'
const SITE_TITLE = ref(import.meta.env.VITE_GLOB_APP_TITLE)
const Footer = Layout.Footer
const { t } = useI18n()
const { getShowFooter } = useRootSetting()
const { currentRoute } = useRouter()

View File

@ -74,7 +74,7 @@ export const dynamicInfoItems: DynamicInfoItem[] = [
},
{
avatar: 'dynamic-avatar-4|svg',
name: 'Vben',
name: 'XingyuV',
date: '2天前',
desc: `发表文章 <a>如何编写一个Vite插件</a> `
},