Browse Source

feat: add title

main
xingyuv 2 years ago
parent
commit
a39fc77f11
  1. 2
      .env
  2. 2
      LICENSE
  3. 4
      README.md
  4. 5
      src/layouts/default/footer/index.vue
  5. 2
      src/views/dashboard/workbench/components/data.ts

2
.env

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

2
LICENSE

@ -1,6 +1,6 @@
MIT License 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 Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

4
README.md

@ -6,10 +6,6 @@
[gitee](https://gitee.com/xingyuv/vue-vben-admin) [gitee](https://gitee.com/xingyuv/vue-vben-admin)
[github](https://github.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) [预览地址](http://vben.x-surge.com)

5
src/layouts/default/footer/index.vue

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

2
src/views/dashboard/workbench/components/data.ts

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