Commit 079a113f by liimin

icon

1 parent 9652a0bb
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2021-09-18 09:35:02 * @Date: 2021-09-18 09:35:02
* @LastEditors: limin * @LastEditors: limin
* @LastEditTime: 2023-08-24 10:43:02 * @LastEditTime: 2023-09-21 11:49:10
* @FilePath: \scrm-base\src\common\constants.js * @FilePath: \scrm-base\src\common\constants.js
*/ */
export default { export default {
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
} }
}, },
ICONS: (() => { ICONS: (() => {
const iconFiles = require.context('../assets/images/icons', true, /\.png$/) const iconFiles = require.context('../assets/images/icons-v2', true, /\.png$/)
return iconFiles.keys().map(iconPath => iconPath.replace(/^\.\/(.*)\.\w+$/, '$1')) return iconFiles.keys().map(iconPath => iconPath.replace(/^\.\/(.*)\.\w+$/, '$1'))
})(), })(),
DEFAULT_ICON_NAME: 'default' DEFAULT_ICON_NAME: 'default'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!