🎨 更新用户版本

This commit is contained in:
2025-09-02 22:56:30 +08:00
parent 8276b3e87f
commit a1906d2a36
71 changed files with 4790 additions and 962 deletions

View File

@@ -1,10 +1,12 @@
/**
* 网站配置文件
*/
import packageInfo from '../../package.json'
const greenText = (text) => `\x1b[32m${text}\x1b[0m`
const config = {
appName: 'Lckt-Admin',
appName: 'Gin-Vue-Admin',
appLogo: 'logo.png',
showViteLogo: true,
logs: []
@@ -12,20 +14,7 @@ const config = {
export const viteLogo = (env) => {
if (config.showViteLogo) {
console.log(
greenText(
`> 欢迎使用Gin-Vue-Admin开源地址https://github.com/flipped-aurora/gin-vue-admin`
)
)
console.log(greenText(`> 当前版本:v2.8.0`))
console.log(greenText(`> 加群方式:微信shouzi_1994 QQ群470239250`))
console.log(
greenText(`> 项目地址https://github.com/flipped-aurora/gin-vue-admin`)
)
console.log(greenText(`> 插件市场:https://plugin.gin-vue-admin.com`))
console.log(
greenText(`> GVA讨论社区:https://support.qq.com/products/371961`)
)
console.log(greenText(`> 当前版本:v${packageInfo.version}`))
console.log(
greenText(
`> 默认自动化文档地址:http://127.0.0.1:${env.VITE_SERVER_PORT}/swagger/index.html`
@@ -34,18 +23,6 @@ export const viteLogo = (env) => {
console.log(
greenText(`> 默认前端文件运行地址:http://127.0.0.1:${env.VITE_CLI_PORT}`)
)
console.log(
greenText(
`--------------------------------------版权声明--------------------------------------`
)
)
console.log(greenText(`** 版权所有方flipped-aurora开源团队 **`))
console.log(greenText(`** 版权持有公司:北京翻转极光科技有限责任公司 **`))
console.log(
greenText(
`** 剔除授权标识需购买商用授权https://gin-vue-admin.com/empower/index.html **`
)
)
console.log('\n')
}
}

View File

@@ -4,24 +4,10 @@
* */
// 加载网站配置文件夹
import { register } from './global'
import packageInfo from '../../package.json'
export default {
install: (app) => {
register(app)
console.log(`
欢迎使用 Gin-Vue-Admin
当前版本:v2.8.0
加群方式:微信shouzi_1994 QQ群622360840
项目地址https://github.com/flipped-aurora/gin-vue-admin
插件市场:https://plugin.gin-vue-admin.com
GVA讨论社区:https://support.qq.com/products/371961
默认自动化文档地址:http://127.0.0.1:${import.meta.env.VITE_SERVER_PORT}/swagger/index.html
默认前端文件运行地址:http://127.0.0.1:${import.meta.env.VITE_CLI_PORT}
如果项目让您获得了收益,希望您能请团队喝杯可乐:https://www.gin-vue-admin.com/coffee/index.html
--------------------------------------版权声明--------------------------------------
** 版权所有方flipped-aurora开源团队 **
** 版权持有公司:北京翻转极光科技有限责任公司 **
** 剔除授权标识需购买商用授权https://gin-vue-admin.com/empower/index.html **
`)
}
}