| | |
| | | const tenantStore = useTenantStore(); |
| | | const menus = computed(() => { |
| | | const defaultMenus = [ |
| | | { |
| | | handler: () => { |
| | | openWindow(VBEN_DOC_URL, { |
| | | target: '_blank', |
| | | }); |
| | | }, |
| | | icon: BookOpenText, |
| | | text: $t('ui.widgets.document'), |
| | | }, |
| | | // { |
| | | // handler: () => { |
| | | // openWindow(VBEN_DOC_URL, { |
| | | // target: '_blank', |
| | | // }); |
| | | // }, |
| | | // icon: BookOpenText, |
| | | // text: $t('ui.widgets.document'), |
| | | // }, |
| | | { |
| | | handler: () => { |
| | | router.push('/profile'); |
| | |
| | | icon: UserOutlined, |
| | | text: $t('ui.widgets.profile'), |
| | | }, |
| | | { |
| | | handler: () => { |
| | | openWindow('https://gitee.com/dapppp/ruoyi-plus-vben5', { |
| | | target: '_blank', |
| | | }); |
| | | }, |
| | | icon: () => h(GiteeIcon, { class: 'text-red-800' }), |
| | | text: 'Gitee项目地址', |
| | | }, |
| | | { |
| | | handler: () => { |
| | | openWindow(VBEN_GITHUB_URL, { |
| | | target: '_blank', |
| | | }); |
| | | }, |
| | | icon: GitHubOutlined, |
| | | text: 'Vben官方地址', |
| | | }, |
| | | { |
| | | handler: () => { |
| | | openWindow(`${VBEN_GITHUB_URL}/issues`, { |
| | | target: '_blank', |
| | | }); |
| | | }, |
| | | icon: CircleHelp, |
| | | text: $t('ui.widgets.qa'), |
| | | }, |
| | | // { |
| | | // handler: () => { |
| | | // openWindow('https://gitee.com/dapppp/ruoyi-plus-vben5', { |
| | | // target: '_blank', |
| | | // }); |
| | | // }, |
| | | // icon: () => h(GiteeIcon, { class: 'text-red-800' }), |
| | | // text: 'Gitee项目地址', |
| | | // }, |
| | | // { |
| | | // handler: () => { |
| | | // openWindow(VBEN_GITHUB_URL, { |
| | | // target: '_blank', |
| | | // }); |
| | | // }, |
| | | // icon: GitHubOutlined, |
| | | // text: 'Vben官方地址', |
| | | // }, |
| | | // { |
| | | // handler: () => { |
| | | // openWindow(`${VBEN_GITHUB_URL}/issues`, { |
| | | // target: '_blank', |
| | | // }); |
| | | // }, |
| | | // icon: CircleHelp, |
| | | // text: $t('ui.widgets.qa'), |
| | | // }, |
| | | ]; |
| | | /** |
| | | * 租户选中状态 不显示个人中心 |