fix: h导致的页面报错(原因未知)

This commit is contained in:
dap 2024-12-09 15:24:12 +08:00
parent 4778ead7c2
commit 686e09a1f8

View File

@ -1,5 +1,5 @@
<script lang="ts" setup>
import { computed, h, onMounted, watch } from 'vue';
import { computed, onMounted, watch } from 'vue';
import { useRouter } from 'vue-router';
import { AuthenticationLoginExpiredModal } from '@vben/common-ui';
@ -62,7 +62,7 @@ const menus = computed(() => {
target: '_blank',
});
},
icon: h(GiteeIcon, { class: 'text-red-500' }),
icon: GiteeIcon,
text: 'Gitee项目地址',
},
{