|
@@ -11,20 +11,16 @@
|
|
|
<script setup>
|
|
|
import { RouterView } from 'vue-router';
|
|
|
import { onBeforeMount, ref } from 'vue';
|
|
|
-import http from "@/utils/http";
|
|
|
|
|
|
import zhCN from 'ant-design-vue/es/locale/zh_CN';
|
|
|
import dayjs from 'dayjs';
|
|
|
-import { message } from 'ant-design-vue';
|
|
|
-import { useUserStore } from '@/stores';
|
|
|
-import { setLocalStorageWithExpiry, getLocalStorageWithExpiry } from '@/utils/store.js'
|
|
|
+import { getLocalStorageWithExpiry } from '@/utils/store.js'
|
|
|
|
|
|
import 'dayjs/locale/zh-cn';
|
|
|
dayjs.locale('zh-cn');
|
|
|
|
|
|
const locale = ref(zhCN)
|
|
|
|
|
|
-const store = useUserStore();
|
|
|
onBeforeMount(() => {
|
|
|
document.title = window?.AppGlobalConfig?.system?.name || '';
|
|
|
})
|