相关Issues修改
This commit is contained in:
@@ -110,22 +110,22 @@ const blockList = ref([
|
||||
[
|
||||
{ id: 'myPage', label: '个人中心', to: getRouterLink('PersonalCenter') }
|
||||
],
|
||||
[
|
||||
// { id: 'dashboard', label: '工作台', icon: 'gt-member-c', to: getRouterLink('dashboard') },
|
||||
// { id: 'myIssues', label: '我的 Issue', icon: 'gt-issue-c', to: getRouterLink('issues') },
|
||||
// { id: 'myDiscuss', label: '我的讨论', icon: 'gt-comment-c', to: getRouterLink('discussionCreated') },
|
||||
// { id: 'myMR', label: '我的合并请求', icon: 'gt-me-merge-c', to: getRouterLink('merge') },
|
||||
{ id: 'notice', label: '消息通知', icon: 'gt-remind-c', to: getRouterLink({ name: 'notice', query: { status: 'all' }}) }
|
||||
],
|
||||
[
|
||||
{ id: 'myOrg', label: '我的组织', icon: 'gt-organizations-c', to: getRouterLink({ name: 'settingOrganization' }) },
|
||||
// { id: 'myRepo', label: '我的项目', icon: 'gt-folder-c', to: getRouterLink('userRepos') },
|
||||
// { id: 'myStar', label: '我的 Star', icon: 'gt-star-c', to: getRouterLink('userStars') }
|
||||
],
|
||||
[
|
||||
{ id: 'personalSetting', label: '个人设置', icon: 'gt-setting-c', to: getRouterLink('setting') },
|
||||
// { id: 'help', label: '帮助文档', icon: 'gt-file-c', href: 'https://gitcode.com/Gitcode-offical-team/GitCode-Docs/wiki' }
|
||||
],
|
||||
// [
|
||||
// // { id: 'dashboard', label: '工作台', icon: 'gt-member-c', to: getRouterLink('dashboard') },
|
||||
// // { id: 'myIssues', label: '我的 Issue', icon: 'gt-issue-c', to: getRouterLink('issues') },
|
||||
// // { id: 'myDiscuss', label: '我的讨论', icon: 'gt-comment-c', to: getRouterLink('discussionCreated') },
|
||||
// // { id: 'myMR', label: '我的合并请求', icon: 'gt-me-merge-c', to: getRouterLink('merge') },
|
||||
// { id: 'notice', label: '消息通知', icon: 'gt-remind-c', to: getRouterLink({ name: 'notice', query: { status: 'all' }}) }
|
||||
// ],
|
||||
// [
|
||||
// { id: 'myOrg', label: '我的组织', icon: 'gt-organizations-c', to: getRouterLink({ name: 'settingOrganization' }) },
|
||||
// // { id: 'myRepo', label: '我的项目', icon: 'gt-folder-c', to: getRouterLink('userRepos') },
|
||||
// // { id: 'myStar', label: '我的 Star', icon: 'gt-star-c', to: getRouterLink('userStars') }
|
||||
// ],
|
||||
// [
|
||||
// { id: 'personalSetting', label: '个人设置', icon: 'gt-setting-c', to: getRouterLink('setting') },
|
||||
// { id: 'help', label: '帮助文档', icon: 'gt-file-c', href: 'https://gitcode.com/Gitcode-offical-team/GitCode-Docs/wiki' }
|
||||
// ],
|
||||
[
|
||||
{ id: 'logout', label: '退出登录', icon: 'gt-exit', action: logout }
|
||||
]
|
||||
|
||||
43
src/components/TableSetting/index.vue
Normal file
43
src/components/TableSetting/index.vue
Normal file
@@ -0,0 +1,43 @@
|
||||
<template>
|
||||
<d-dropdown>
|
||||
<d-button class="output-btn" icon="icon-form-settings" variant="text">设置</d-button>
|
||||
<template #menu>
|
||||
<!-- <ul class="list-menu">-->
|
||||
<!-- <d-dropdown :position="position" :offset="0">-->
|
||||
<!--<!– <li class="menu-item">–>-->
|
||||
<!--<!– Item 1–>-->
|
||||
<!--<!– <i class="icon icon-chevron-right"></i>–>-->
|
||||
<!--<!– </li>–>-->
|
||||
<!--<!– <template #menu>–>-->
|
||||
<!--<!–<!– <ul class="list-menu">–>–>-->
|
||||
<!--<!–<!– <d-dropdown :position="position" :offset="0" >–>–>-->
|
||||
<!--<!–<!– <li class="menu-item">–>–>-->
|
||||
<!--<!–<!– Item 1-1–>–>-->
|
||||
<!--<!–<!– <i class="icon icon-chevron-right"></i>–>–>-->
|
||||
<!--<!–<!– </li>–>–>-->
|
||||
<!--<!–<!– <template #menu>–>–>-->
|
||||
<!--<!–<!– <ul class="list-menu">–>–>-->
|
||||
<!--<!–<!– <li class="menu-item">Item 1-1-1</li>–>–>-->
|
||||
<!--<!–<!– <li class="menu-item">Item 1-1-2</li>–>–>-->
|
||||
<!--<!–<!– <li class="menu-item">Item 1-1-3</li>–>–>-->
|
||||
<!--<!–<!– </ul>–>–>-->
|
||||
<!--<!–<!– </template>–>–>-->
|
||||
<!--<!–<!– </d-dropdown>–>–>-->
|
||||
<!--<!–<!– <li class="menu-item">Item 1-2</li>–>–>-->
|
||||
<!--<!–<!– </ul>–>–>-->
|
||||
<!--<!– </template>–>-->
|
||||
<!-- </d-dropdown>-->
|
||||
<!-- <li class="menu-item">Item 2</li>-->
|
||||
<!-- </ul>-->
|
||||
</template>
|
||||
</d-dropdown>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
const position = ref(['right-start', 'right-end']);
|
||||
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user