From d8896d6d303d466e613aee1c53d9603edacf0aeb Mon Sep 17 00:00:00 2001
From: yang <1441163367@qq.com>
Date: 星期三, 26 十月 2022 11:29:10 +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