Browse Source

fix: SvgIcon 全局注册组件 失效问题

lanceJiang 1 year ago
parent
commit
341fb16848
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/SvgIcon/index.vue

+ 1 - 1
src/components/SvgIcon/index.vue

@@ -6,7 +6,7 @@
 	</svg>
 </template>
 
-<script setup>
+<script setup name="SvgIcon">
 import { computed } from 'vue'
 
 const props = defineProps({