fix: 上下文导致渲染不正常

This commit is contained in:
dap 2024-12-09 15:38:58 +08:00
parent 686e09a1f8
commit e0b4bf0956

View File

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