From aec00ecc093be803860c8675cbe1c4c776a7cb4e Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Tue, 19 Mar 2024 17:49:21 +0800
Subject: [PATCH] update: 新建航线、事件编辑、kmz文件问题修改

---
 src/pages/page-web/home.vue |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/src/pages/page-web/home.vue b/src/pages/page-web/home.vue
index 8d6f090..5450356 100644
--- a/src/pages/page-web/home.vue
+++ b/src/pages/page-web/home.vue
@@ -1,16 +1,20 @@
 <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 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-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'
@@ -23,6 +27,7 @@
   user: string
   password: string
 }
+
 const route = useRoute()
 const root = getRoot()
 
@@ -64,7 +69,7 @@
 .header {
   background-color: black;
   color: white;
-  height: 60px;
+  height: 58px;
   font-size: 15px;
   padding: 0 20px;
 }

--
Gitblit v1.9.3