多租户前端修改提交
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
|
||||
<Notify v-if="getShowNotice" :class="`${prefixCls}-action__item notify-item`" />
|
||||
|
||||
<UserPostChange v-if="false" />
|
||||
<UserTenantChange v-if="getAppEnvConfig().VITE_TENANT_ENABLED" />
|
||||
<SettingDrawer v-if="getShowSetting" :class="`${prefixCls}-action__item`" ref="drawer" />
|
||||
<UserDropDown @menu-click="onMenuClick" :theme="getHeaderTheme" :show-settings="getShowSetting" />
|
||||
</div>
|
||||
@ -49,7 +49,7 @@
|
||||
|
||||
import { MenuModeEnum, MenuSplitTyeEnum } from '/@/enums/menuEnum';
|
||||
import { SettingButtonPositionEnum } from '/@/enums/appEnum';
|
||||
import { UserPostChange } from '/@/components/Application';
|
||||
import { UserTenantChange } from '/@/components/Application';
|
||||
|
||||
import { LayoutBreadcrumb, Notify, ErrorAction } from './components';
|
||||
import UserDropDown from '/@/layouts/default/header/components/user-dropdown/DropDown.vue';
|
||||
@ -58,9 +58,11 @@
|
||||
|
||||
import { createAsyncComponent } from '/@/utils/factory/createAsyncComponent';
|
||||
import { useLocale } from '/@/locales/useLocale';
|
||||
import {getAppEnvConfig} from "/@/utils/env";
|
||||
|
||||
export default defineComponent({
|
||||
name: 'LayoutHeader',
|
||||
methods: {getAppEnvConfig},
|
||||
components: {
|
||||
LayHeader: Layout.Header,
|
||||
AppLogo,
|
||||
@ -74,7 +76,7 @@
|
||||
SettingDrawer: createAsyncComponent(() => import('/@/layouts/default/setting/index.vue'), {
|
||||
loading: true
|
||||
}),
|
||||
UserPostChange
|
||||
UserTenantChange
|
||||
},
|
||||
props: {
|
||||
fixed: propTypes.bool
|
||||
|
||||
Reference in New Issue
Block a user