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