diff --git a/src/renderer/src/views/prepare/index.vue b/src/renderer/src/views/prepare/index.vue index 54c1812..871b681 100644 --- a/src/renderer/src/views/prepare/index.vue +++ b/src/renderer/src/views/prepare/index.vue @@ -34,37 +34,6 @@
-
@@ -369,6 +338,9 @@ export default { createFile() { creatPPT(this.currentNode.itemtitle + '.pptx', this.uploadData).then((res) => { this.currentFileList.unshift(res.resData) + setTimeout(()=>{ + this.$refs['kjItemRef'+res.resData.id][0].openFileWin(res.resData); + },500) }) }, createAptFile() { @@ -450,6 +422,9 @@ export default { fileShowName: this.currentNode.itemtitle + '.apt' }).then((res) => { this.currentFileList.unshift(res.resData) + setTimeout(()=>{ + this.$refs['kjItemRef'+res.resData.id][0].openFileWin(res.resData); + },500) }) }) })