import useRouterStore from '@/useRouterStore' import { defineComponent } from 'vue' import UserPage from '@/user/UserPage' import BackgroundPage from '@/layout/background/BackgroundPage' import ThemeProvider from '@/utils/ThemeProvider' import BlockSettings from '@/layout/grid/BlockSettings' import SearchSetting from '@/layout/grid/SearchSetting' import TimeSetting from '@/layout/grid/TimeSetting' import SiderSetting from '@/layout/grid/SiderSetting' import DockSetting from '@/layout/grid/DockSetting' import Feedback from '@/layout/grid/Feedback' import Reset from '@/layout/grid/Reset' export default defineComponent(() => { const router = useRouterStore() return () => (
{router.path === 'settings-user' ? ( ) : router.path === 'settings-background' ? ( ) : router.path === 'settings-block' ? ( ) : router.path === 'settings-search' ? ( ) : router.path === 'settings-time' ? ( ) : router.path === 'settings-sider' ? ( ) : router.path === 'settings-dock' ? ( ) : router.path === 'settings-reset' ? ( ) : router.path === 'settings-fallback' ? ( ) : null}
) })