浏览代码

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({