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>