From b8440d9a6b1671cdf0c8f06cdaba2f80a8dac1e6 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 13 Nov 2024 14:17:15 +0800
Subject: [PATCH] 退出图标按钮修复

---
 src/views/survey/components/box/fireTrend.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/views/survey/components/box/fireTrend.vue b/src/views/survey/components/box/fireTrend.vue
index 8d0a29d..c245fb9 100644
--- a/src/views/survey/components/box/fireTrend.vue
+++ b/src/views/survey/components/box/fireTrend.vue
@@ -2,7 +2,7 @@
  * @Author: shuishen 1109946754@qq.com
  * @Date: 2023-03-13 14:54:26
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-11-05 20:39:31
+ * @LastEditTime: 2024-11-11 19:42:55
  * @FilePath: \bigScreen\src\views\survey\components\box\fireTrend.vue
  * @Description:
  *
@@ -24,7 +24,7 @@
 })
 
 
-function getPages() {
+function getPages () {
   getPage().then(res => {
     parkQy.value = res.data.data.records
     // console.log(res)
@@ -33,7 +33,7 @@
   })
 }
 
-function search() {
+function search () {
   getPage({ name: searchQuery.value }).then(res => {
     parkQy.value = res.data.data.records
     console.log(res)
@@ -45,7 +45,9 @@
 const goSubLayout = (item) => {
   localStorage.setItem('companyInfo', JSON.stringify(item))
   store.setLoadSub(true)
-  router.push('/layout/sub')
+  router.push({
+    path: '/layout/sub/companyInfo'
+  })
 }
 
 </script>

--
Gitblit v1.9.3