dashboard
repositories
filestore
activity
search
login
~mayuhao
/
registerSystem
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
修改
马宇豪
2023-10-24
633b699c6bfb4bb9c5c91a09c4b084ca213b5a75
[~mayuhao/registerSystem.git]
/
src
/
views
/
components
/
icons
/
svg-icons.js
1
2
3
4
5
6
7
8
9
10
const req = require.context('../../../assets/icons/svg', false, /\.svg$/)
const requireAll = requireContext => requireContext.keys()
const re = /\.\/(.*)\.svg/
const svgIcons = requireAll(req).map(i => {
return i.match(re)[1]
})
export default svgIcons