From 2a6364632f5480a504c3facb4978f14b14136816 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 23 九月 2022 12:40:22 +0800
Subject: [PATCH] up

---
 src/views/home/index.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 82b34d1..e2e4720 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -31,7 +31,7 @@
                         />
                         <div>检验报告</div>
                     </van-col>
-                    <van-col span="6" class="item">
+                    <van-col span="6" @click="topath('/paiban')" class="item">
                         <van-image
                             round
                             width="42px"
@@ -175,12 +175,17 @@
     ]
     const active=ref('home')
     const tabChang=(index:any)=>{
+        alert(index)
         if (index==='home'){
             router.push('/')
         } else {
             router.push('my')
         }
     }
+    const topath=(url:string)=>{
+        console.log('sss')
+        router.push(url)
+    }
     onMounted(() => {
         console.log('初始化',route)
         const queryInfo=route.query

--
Gitblit v1.8.0