From 33c16e562b7521285b3179b11021c0463815646e Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 20 八月 2021 14:47:49 +0800 Subject: [PATCH] update springboot 2.5.3 => 2.5.4 update hutool 5.7.7 => 5.7.9 update feign-okhttp 11.2 => 11.6 --- ruoyi-ui/src/components/IconSelect/requireIcons.js | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ruoyi-ui/src/components/IconSelect/requireIcons.js b/ruoyi-ui/src/components/IconSelect/requireIcons.js index 5d3005d..99e5c54 100644 --- a/ruoyi-ui/src/components/IconSelect/requireIcons.js +++ b/ruoyi-ui/src/components/IconSelect/requireIcons.js @@ -1,11 +1,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 + +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 -- Gitblit v1.9.3