浏览代码

Merge pull request #7243 from wenzhixin/fix/7233

Fixed custom iconPrefix and icons bugs
文翼 1 年之前
父节点
当前提交
5d229274be
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/utils/index.js

+ 1 - 1
src/utils/index.js

@@ -109,7 +109,7 @@ export default {
         search: 'search',
         clearSearch: 'delete'
       }
-    }[prefix]
+    }[prefix] || {}
   },
 
   getSearchInput (that) {