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>