fix: 租户和系统用户的主页显示差异
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user