From 3b1fc9088c6efc28bbfdab55b61b1626a863036d Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期二, 03 一月 2023 14:42:14 +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