Переглянути джерело

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

lanceJiang 1 рік тому
батько
коміт
341fb16848
1 змінених файлів з 1 додано та 1 видалено
  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({