Commit 0bcaf609 authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

chore: 隐藏个人设置入口

See merge request !65
parents 4794f8a3 f779e42b
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import { computed, h, ref, watchEffect } from 'vue' import { computed, h, ref, watchEffect } from 'vue'
import { useRoute, useRouter } from 'vue-router' import { useRoute, useRouter } from 'vue-router'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { Plus, Me } from '@icon-park/vue-next' import { Plus, Logout } from '@icon-park/vue-next'
import type { MenuOption } from 'naive-ui' import type { MenuOption } from 'naive-ui'
import { useUserStore } from '@/store/modules/user' import { useUserStore } from '@/store/modules/user'
// import LanguageSetting from '@/components/language-setting/language-setting.vue' // import LanguageSetting from '@/components/language-setting/language-setting.vue'
...@@ -47,16 +47,16 @@ const menuOptions = computed<MenuOption[]>(() => { ...@@ -47,16 +47,16 @@ const menuOptions = computed<MenuOption[]>(() => {
const userConfigOptions = computed(() => { const userConfigOptions = computed(() => {
return [ return [
{
label: () => h('div', '个人设置'),
key: 'PersonalSettings',
icon: () => h(Me, { theme: 'outline', size: 14, strokeWidth: 3 }),
},
// { // {
// label: () => h('div', t('common_module.logout')), // label: () => h('div', '个人设置'),
// key: 'Logout', // key: 'PersonalSettings',
// icon: () => h(Logout, { theme: 'outline', size: 14, strokeWidth: 3 }), // icon: () => h(Me, { theme: 'outline', size: 14, strokeWidth: 3 }),
// }, // },
{
label: () => h('div', t('common_module.logout')),
key: 'Logout',
icon: () => h(Logout, { theme: 'outline', size: 14, strokeWidth: 3 }),
},
] ]
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment