From 2269640d26a7a9b21a3828c75fb5aaa56ccfd6f8 Mon Sep 17 00:00:00 2001 From: yang <1441163367@qq.com> Date: 星期三, 02 十一月 2022 09:26:40 +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