refactor: 修改SvgIcon组件,未找到class显示未发现图标防止报错

This commit is contained in:
wangjiahao
2022-05-20 20:41:45 +08:00
parent 47163af09e
commit 8f37ee68c9
2 changed files with 4 additions and 1 deletions

View File

@@ -14,7 +14,8 @@ export default {
props: {
iconClass: {
type: String,
required: true
required: false,
default: 'non-existent'
},
className: {
type: String,