refactor(SvgIcon.vue): svg默认颜色调整

This commit is contained in:
郝先瑞
2022-01-01 16:14:39 +08:00
parent d45fdc4f5c
commit 5268202c09

View File

@@ -1,5 +1,5 @@
<template> <template>
<svg aria-hidden="true" class="svg-icon"> <svg aria-hidden="true" class="svg-icon">
<use :xlink:href="symbolId" :fill="color" /> <use :xlink:href="symbolId" :fill="color" />
</svg> </svg>
</template> </template>
@@ -20,7 +20,7 @@ export default defineComponent({
}, },
color: { color: {
type: String, type: String,
default: '#FFF', default: ''
}, },
}, },
setup(props) { setup(props) {