From efc0e25c7f71a7c50aade1ff65c6d3a2efe4a2ee Mon Sep 17 00:00:00 2001 From: Soybean Date: Tue, 9 Apr 2024 07:27:48 +0800 Subject: [PATCH] fix(projects): fix SvgIcon inheritAttrs warning --- src/components/custom/svg-icon.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/custom/svg-icon.vue b/src/components/custom/svg-icon.vue index fbf204d38..504763e16 100644 --- a/src/components/custom/svg-icon.vue +++ b/src/components/custom/svg-icon.vue @@ -2,7 +2,7 @@ import { computed, useAttrs } from 'vue'; import { Icon } from '@iconify/vue'; -defineOptions({ name: 'SvgIcon' }); +defineOptions({ name: 'SvgIcon', inheritAttrs: false }); /** * Props