소스 검색

修改bug

huangxw 1 개월 전
부모
커밋
361cfcec18
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/Editor/index.vue

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

@@ -170,7 +170,7 @@ const handleBeforeUpload = (file: any) => {
 };
 
 onUnmounted(() => {
-    aiEditor && aiEditor.destroy();
+    aiEditor.value && aiEditor.value.destroy();
 })
 </script>