diff --git a/server/core/server.go b/server/core/server.go index c0e1fc37..293c8517 100644 --- a/server/core/server.go +++ b/server/core/server.go @@ -38,7 +38,7 @@ func RunWindowsServer() { fmt.Printf(` 欢迎使用 github.com/flipped-aurora/gin-vue-admin/server - 当前版本:V2.4.6 + 当前版本:V2.5.0 beta 加群方式:微信号:shouzi_1994 QQ群:622360840 GVA讨论社区:https://support.qq.com/products/371961 默认自动化文档地址:http://127.0.0.1%s/swagger/index.html diff --git a/web/package.json b/web/package.json index bd630c08..34450787 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "gin-vue-admin", - "version": "2.4.6", + "version": "2.5.0", "private": true, "scripts": { "serve": "node openDocument.js && vite --host --mode development", diff --git a/web/src/core/config.js b/web/src/core/config.js index 6b02654a..9efd6a2a 100644 --- a/web/src/core/config.js +++ b/web/src/core/config.js @@ -18,7 +18,7 @@ export const viteLogo = (env) => { ) console.log( chalk.green( - `> 当前版本:V2.4.6` + `> 当前版本:V2.5.0` ) ) console.log( diff --git a/web/src/core/gin-vue-admin.js b/web/src/core/gin-vue-admin.js index 9a4feafa..44977159 100644 --- a/web/src/core/gin-vue-admin.js +++ b/web/src/core/gin-vue-admin.js @@ -10,7 +10,7 @@ export default { register(app) console.log(` 欢迎使用 Gin-Vue-Admin - 当前版本:V2.4.6 + 当前版本:V2.5.0 beta 加群方式:微信:shouzi_1994 QQ群:622360840 GVA讨论社区:https://support.qq.com/products/371961 默认自动化文档地址:http://127.0.0.1:${import.meta.env.VITE_SERVER_PORT}/swagger/index.html diff --git a/web/src/core/global.js b/web/src/core/global.js index f74f4fd4..ce66c251 100644 --- a/web/src/core/global.js +++ b/web/src/core/global.js @@ -5,7 +5,7 @@ import { emitter } from '@/utils/bus.js' import * as ElIconModules from '@element-plus/icons' // 导入转换图标名称的函数 -const closeThisPage = () => { +export const closeThisPage = () => { emitter.emit('closeThisPage') } @@ -14,8 +14,5 @@ export const register = (app) => { for (const iconName in ElIconModules) { app.component(iconName, ElIconModules[iconName]) } - app.config.globalProperties.$GIN_VUE_ADMIN = config - app.config.globalProperties.$CloseThisPage = closeThisPage } -