Skip to content

Commit

Permalink
Merge branches 'main' and 'main' of github.com:kanyxmo/MineAdmin-Vue
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Feb 20, 2024
2 parents 3b59519 + 15d8e14 commit a6de1aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ app.use(ArcoVue, {})
.use(globalComponents)

// 注册ma-icon图标
const modules = import.meta.globEager('./assets/ma-icons/*.vue')
const modules = import.meta.glob('./assets/ma-icons/*.vue', { eager: true })
for (const path in modules) {
const name = path.match(/([A-Za-z0-9_-]+)/g)[2]
const componentName = `MaIcon${name}`
Expand All @@ -51,4 +51,4 @@ console.log('MineAdmin 官网 https://www.mineadmin.com')
console.log('MineAdmin 文档 https://doc.mineadmin.com')
console.log('MineAdmin Github https://github.com/kanyxmo/MineAdmin')
console.log('MineAdmin-Vue Github https://github.com/kanyxmo/MineAdmin-Vue')
console.log('请不要吝啬您的 star,谢谢 ~ 🤩🤩🤩')
console.log('请不要吝啬您的 star,谢谢 ~ 🤩🤩🤩')

0 comments on commit a6de1aa

Please sign in to comment.