| | |
| | | <template> |
| | | <a-layout class="width-100 flex-display" style="height: 100vh"> |
| | | <a-layout-header class="header" v-show="$route.meta.header!=false"> |
| | | <Topbar /> |
| | | </a-layout-header> |
| | | <a-layout-content> |
| | | <router-view /> |
| | | </a-layout-content> |
| | | <a-config-provider :locale="zhCN"> |
| | | |
| | | </a-layout> |
| | | <a-layout class="width-100 flex-display" style="height: 100vh"> |
| | | <a-layout-header class="header" v-show="$route.meta.header!=false"> |
| | | <Topbar/> |
| | | </a-layout-header> |
| | | <a-layout-content> |
| | | <router-view/> |
| | | </a-layout-content> |
| | | |
| | | </a-layout> |
| | | </a-config-provider> |
| | | |
| | | </template> |
| | | |
| | | <script lang="ts" setup> |
| | | import zhCN from 'ant-design-vue/es/locale/zh_CN' |
| | | import Topbar from '/@/components/common/topbar.vue' |
| | | import { onMounted, reactive, ref, UnwrapRef, watch } from 'vue' |
| | | import { getRoot } from '/@/root' |
| | |
| | | user: string |
| | | password: string |
| | | } |
| | | |
| | | const route = useRoute() |
| | | const root = getRoot() |
| | | |