From cbec633fda4ecf0f77288f25067a8512915b565a Mon Sep 17 00:00:00 2001
From: yang <1441163367@qq.com>
Date: 星期一, 31 十月 2022 08:23:55 +0800
Subject: [PATCH] 修改问题

---
 src/views/padSunmaryProcedure/word-view.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/padSunmaryProcedure/word-view.vue b/src/views/padSunmaryProcedure/word-view.vue
index 7fd52d1..27018b9 100644
--- a/src/views/padSunmaryProcedure/word-view.vue
+++ b/src/views/padSunmaryProcedure/word-view.vue
@@ -17,7 +17,7 @@
     };
   },
   created() {
-    console.log(this.$route,'this.$route======')
+    console.log(this.$route.query,'this.$route======')
     if (this.$route.query) {
       if(this.$route.query.wordData){
         // this.dataForm = this.$route.query.wordData
@@ -27,7 +27,10 @@
       }else {
         // this.dataForm = this.$route.query.dawordData
         this.$nextTick(() => {
-          exportDoc(this.$route.query.wordData, this.$route.query.src,this.$refs.word)
+          exportDoc(this.$route.query.wordData, this.$route.query.src,this.$route.query.name);
+          this.$router.push({
+            path: '/pad',
+          })
         })
       }
     }

--
Gitblit v1.9.1