zhuliu 7 달 전
부모
커밋
533f635310
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/VabOnlyOffice/index.vue

+ 1 - 1
src/components/VabOnlyOffice/index.vue

@@ -213,7 +213,7 @@ import mixins from './index.js'
           }
         })
         
-        if(this.historyData.length == 0 || !this.currentVersion){
+        if((this.historyData && this.historyData.length == 0) || !this.currentVersion){
           that.docEditor.refreshHistory({
             currentVersion:'',
             history:[]