Przeglądaj źródła

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

lanceJiang 1 rok temu
rodzic
commit
341fb16848
1 zmienionych plików z 1 dodań i 1 usunięć
  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({