fix: 租户和系统用户的主页显示差异

This commit is contained in:
TsMask
2025-08-14 17:15:18 +08:00
parent 7b7907616f
commit 7bd524976a
4 changed files with 43 additions and 19 deletions

View File

@@ -5,7 +5,6 @@ import BaseInfo from './components/base-info.vue';
import ResetPasswd from './components/reset-passwd.vue';
import StyleLayout from './components/style-layout.vue';
import { useRoute } from 'vue-router';
import { hasRoles } from '@/plugins/auth-user';
import useAppStore from '@/store/modules/app';
import useI18n from '@/hooks/useI18n';
import useUserStore from '@/store/modules/user';
@@ -53,7 +52,7 @@ onActivated(() => {
<a-tab-pane
key="style-layout"
:tab="t('views.account.settings.styleLayout')"
v-if="hasRoles(['admin'])"
v-if="false"
>
<StyleLayout></StyleLayout>
</a-tab-pane>