From b0c902a80c789151239b96913eac73d8fb313a38 Mon Sep 17 00:00:00 2001
From: whychdw <49690745@qq.com>
Date: 星期二, 25 五月 2021 10:33:54 +0800
Subject: [PATCH] 跳转更新

---
 src/components/smallModule/NewTest.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/components/smallModule/NewTest.vue b/src/components/smallModule/NewTest.vue
index 2e51f8f..aa52b30 100644
--- a/src/components/smallModule/NewTest.vue
+++ b/src/components/smallModule/NewTest.vue
@@ -8,7 +8,7 @@
             </div>
         </div>
         <div class="new-test-content">
-            <el-button class="block-button" type="primary" size="small" :disabled="!to">鏂板缓璇曢獙</el-button>
+            <el-button class="block-button" type="primary" size="small" :disabled="!to" @click="routeTo">鏂板缓璇曢獙</el-button>
         </div>
     </div>
 </template>
@@ -46,6 +46,11 @@
 
         }
     },
+    methods: {
+        routeTo() {
+            this.$router.push(this.to);
+        }
+    },
     computed: {
         url(){
             let url = "";

--
Gitblit v1.9.1