发布setup语法糖的beta版
This commit is contained in:
@@ -18,7 +18,7 @@ export const viteLogo = (env) => {
|
||||
)
|
||||
console.log(
|
||||
chalk.green(
|
||||
`> 当前版本:V2.4.6`
|
||||
`> 当前版本:V2.5.0`
|
||||
)
|
||||
)
|
||||
console.log(
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user