import SettingItem from '@/settings/SettingItem' import useSettingsStore from '@/settings/useSettingsStore' import { Select, Switch } from 'ant-design-vue' import clsx from 'clsx' import { defineComponent } from 'vue' import useLayoutStore from '../useLayoutStore' export default defineComponent({ name: 'SiderSetting', props: {}, setup() { const settings = useSettingsStore() const layout = useLayoutStore() return () => (
快捷栏开关
}} > { if (e) settings.state.showDock = '' else settings.state.showDock = 'show' }} />
{' '}
自动隐藏
}} > { if (e) settings.state.showDock = 'auto' else settings.state.showDock = 'show' }} />
{' '}
快捷键设置

选中要更换快捷键的目标,点击键盘即可更换快捷键

{layout.state.dockLabels.split('').map((val, idx) => (
{idx + 1}
))}
) } })