huangxw 1 månad sedan
förälder
incheckning
361cfcec18
1 ändrade filer med 1 tillägg och 1 borttagningar
  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>