fixed: 修复loading无法消失的bug

This commit is contained in:
pixelmaxQM
2024-08-30 22:15:15 +08:00
parent 894cf8e6c3
commit 57f13f59b1
2 changed files with 9 additions and 9 deletions
-1
View File
@@ -20,7 +20,6 @@ const registerIcons = async(app) => {
for (const path in iconModules) {
const iconName = path.split('/').pop().replace(/\.svg$/, '')
// 如果iconName带空格则不加入到图标库中并且提示名称不合法
console.log(iconName)
if (iconName.indexOf(' ') !== -1) {
console.error(`icon ${iconName}.svg includes whitespace`)
continue