diff --git a/src/layouts/default/feature/index.vue b/src/layouts/default/feature/index.vue index 3595848e..cade61f9 100644 --- a/src/layouts/default/feature/index.vue +++ b/src/layouts/default/feature/index.vue @@ -12,6 +12,8 @@ import SessionTimeoutLogin from '/@/views/sys/login/SessionTimeoutLogin.vue'; + import { useMultipleTabSetting } from '/@/hooks/setting/useMultipleTabSetting'; + export default defineComponent({ name: 'LayoutFeatures', components: { @@ -41,12 +43,16 @@ return settingButtonPosition === SettingButtonPositionEnum.FIXED; }); + const { getShowMultipleTab } = useMultipleTabSetting(); + return { getTarget: () => document.body, getUseOpenBackTop, getIsFixedSettingDrawer, prefixCls, getIsSessionTimeout, + getShowMultipleTab, + getFullContent, }; }, }); @@ -55,7 +61,10 @@ diff --git a/src/layouts/default/tabs/components/SettingButton.vue b/src/layouts/default/tabs/components/SettingButton.vue new file mode 100644 index 00000000..6253fba6 --- /dev/null +++ b/src/layouts/default/tabs/components/SettingButton.vue @@ -0,0 +1,30 @@ + + diff --git a/src/layouts/default/tabs/index.vue b/src/layouts/default/tabs/index.vue index 4d3df428..a354b121 100644 --- a/src/layouts/default/tabs/index.vue +++ b/src/layouts/default/tabs/index.vue @@ -19,6 +19,7 @@