瀏覽代碼

修改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>