From ce3c9d345a27d3a86e6c096d927f3ee619b6e68f Mon Sep 17 00:00:00 2001
From: zhangxiaoxu123 <819527061@qq.com>
Date: 星期三, 26 十月 2022 13:46:50 +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