dashboard
repositories
filestore
activity
search
login
dongjh
/
swspkmas
forked from
swspkmas
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
init ruoyi
郑永安
2023-09-06
e486dd1fe7efc6310733b5c8ee812f0e1a5b2dde
[~dongjh/swspkmas.git]
/
ruoyi-ui
/
src
/
components
/
IconSelect
/
requireIcons.js
1
2
3
4
5
6
7
8
9
10
11
const req = require.context('../../assets/icons/svg', false, /\.svg$/)
const requireAll = requireContext => requireContext.keys()
const re = /\.\/(.*)\.svg/
const icons = requireAll(req).map(i => {
return i.match(re)[1]
})
export default icons