Selaa lähdekoodia

fix:bug修复

chenlei 2 kuukautta sitten
vanhempi
commit
3c7f0c1c28
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      src/views/ppt_manage/newVersion/pptEditor.vue

+ 3 - 1
src/views/ppt_manage/newVersion/pptEditor.vue

@@ -1092,7 +1092,9 @@ export default {
       this.isSaved = true
       if(this.$route.query.id||this.pptId){
         await this.editPPT(FirstPage,Content,type)
-        this.$refs.version.handleChangeIsOnlyMine() // 刷新版本列表
+        if (isVersionHistory) {
+          this.$refs.version.handleChangeIsOnlyMine() // 刷新版本列表
+        }
       }else{
         // await this.addPPT(FirstPage,Content)
       }