From 8dfbbdd9f242df31db92b063d806e8b586ad81f4 Mon Sep 17 00:00:00 2001 From: piexlmax <303176530@qq.com> Date: Sat, 1 Jan 2022 00:56:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83setup=E8=AF=AD=E6=B3=95?= =?UTF-8?q?=E7=B3=96=E7=9A=84beta=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/core/server.go | 2 +- web/package.json | 2 +- web/src/core/config.js | 2 +- web/src/core/gin-vue-admin.js | 2 +- web/src/core/global.js | 5 +---- 5 files changed, 5 insertions(+), 8 deletions(-) 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 } -