From 1dee40ea46601f2ee5d10aa0190625ebf03bdc4e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 02 Dec 2024 17:02:19 +0800
Subject: [PATCH] 1

---
 src/pages/first/index.vue |   29 ++++++++++++++++++++++++++---
 1 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/src/pages/first/index.vue b/src/pages/first/index.vue
index 303ed24..df34f24 100644
--- a/src/pages/first/index.vue
+++ b/src/pages/first/index.vue
@@ -1,9 +1,19 @@
 <!--
  * @Author: shuishen 1109946754@qq.com
+ * @Date: 2024-11-27 18:00:02
+ * @LastEditors: shuishen 1109946754@qq.com
+ * @LastEditTime: 2024-11-29 21:28:06
+ * @FilePath: \bigScreen\src\pages\first\index.vue
+ * @Description: 
+ * 
+ * Copyright (c) 2024 by shuishen, All Rights Reserved. 
+-->
+<!--
+ * @Author: shuishen 1109946754@qq.com
  * @Date: 2022-08-18 16:18:24
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-11-10 20:03:06
- * @FilePath: \bigScreen\src\views\first\index.vue
+ * @LastEditTime: 2024-11-27 20:21:08
+ * @FilePath: \bigScreen\src\pages\first\index.vue
  * @Description: 
  * 
  * Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved. 
@@ -21,7 +31,7 @@
 
     <div class="main-container">
       <!-- 地图区域 -->
-      <router-view key="2"></router-view>
+      <router-view></router-view>
     </div>
 
     <main-menu></main-menu>
@@ -32,6 +42,19 @@
 import { getAssetsFile } from 'utils/utils'
 const loginOutBg = getAssetsFile('login.png', '/images')
 import mainMenu from './components/mainMenu.vue'
+import { useLogin } from 'store/login'
+const loginStore = useLogin()
+import { useRouter, useRoute } from 'vue-router'
+let router = useRouter()
+
+const signOut = () => {
+  loginStore.LogOut().then(res => {
+    router.push({
+      path: '/login'
+    })
+  })
+}
+
 </script>
 
 <style scoped lang="scss">

--
Gitblit v1.9.3