| | |
| | | }; |
| | | }, |
| | | 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 |
| | |
| | | }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', |
| | | }) |
| | | }) |
| | | } |
| | | } |