chore: gitee地址

This commit is contained in:
dap 2024-12-09 09:57:27 +08:00
parent 131310efef
commit 4778ead7c2

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';
@ -8,6 +8,7 @@ import { useWatermark } from '@vben/hooks';
import { import {
BookOpenText, BookOpenText,
CircleHelp, CircleHelp,
GiteeIcon,
GitHubOutlined, GitHubOutlined,
UserOutlined, UserOutlined,
} from '@vben/icons'; } from '@vben/icons';
@ -55,6 +56,15 @@ const menus = computed(() => {
icon: UserOutlined, icon: UserOutlined,
text: $t('ui.widgets.profile'), text: $t('ui.widgets.profile'),
}, },
{
handler: () => {
openWindow('https://gitee.com/dapppp/ruoyi-plus-vben5', {
target: '_blank',
});
},
icon: h(GiteeIcon, { class: 'text-red-500' }),
text: 'Gitee项目地址',
},
{ {
handler: () => { handler: () => {
openWindow(VBEN_GITHUB_URL, { openWindow(VBEN_GITHUB_URL, {
@ -62,7 +72,7 @@ const menus = computed(() => {
}); });
}, },
icon: GitHubOutlined, icon: GitHubOutlined,
text: 'GitHub', text: 'Vben官方地址',
}, },
{ {
handler: () => { handler: () => {