Update dependencies

This commit is contained in:
chuzhixin 2023-01-11 02:47:54 +08:00
parent 2014f6ad37
commit 3a775c95d6
4 changed files with 48 additions and 4 deletions

View File

@ -47,7 +47,7 @@
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-recess-order": "^2.4.0",
"svg-sprite-loader": "^6.0.9",
"vab-config": "0.0.8",
"vab-config": "file:vab-config",
"webpackbar": "^5.0.0-3"
},
"gitHooks": {

View File

@ -29,9 +29,9 @@
components: { DownOutlined },
setup() {
const store = useStore()
const router = useRouter();
const route = useRoute();
const router = useRouter()
const route = useRoute()
const logout = async () => {
await store.dispatch('user/logout')
if (recordRoute) {

40
vab-config/index.js Normal file
View File

@ -0,0 +1,40 @@
module.exports = {
webpackBarName: 'vue-admin-better',
webpackBanner:
' build: vue-admin-better \n vue-admin-better QQ Group(QQ群): 972435319、1139183756 \n time: ',
donationConsole() {
const chalk = require('chalk')
console.log(
chalk.green(
`> 欢迎使用vue-admin-beautiful开源地址https://github.com/chuzhixin/vue-admin-beautiful`
)
)
console.log(
chalk.green(
`> pro版演示地址http://chu1204505056.gitee.io/vue-admin-beautiful-pro?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=`
)
)
console.log(
chalk.green(
`> vue 2.x版本演示地址MIT协议免费商用http://chu1204505056.gitee.io/vue-admin-beautiful?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=`
)
)
console.log(
chalk.green(
`> vue3.X版演示地址andv MIT协议免费商用http://chu1204505056.gitee.io/vue-admin-beautiful-antdv?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=`
)
)
console.log(
chalk.green(
`> 使用中出现任何问题可加QQ群反馈获取文档群号9724353191139183756`
)
)
console.log(chalk.green(`> 如果您不希望显示以上信息可在config中配置关闭`))
console.log('\n')
},
}

4
vab-config/package.json Normal file
View File

@ -0,0 +1,4 @@
{
"name": "vab-config",
"main": "index.js"
}