Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: error occurs when syncing sql from editor (#10184)

Liu Jie24ba5497663
diff --git a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue
index 3582d8d200..96825f4819 100644
--- a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue
+++ b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue
@@ -28,6 +28,7 @@
name="schema-editor"
:tab="$t('schema-editor.self')"
style="height: 100%"
+ display-directive="show:lazy"
>
<SchemaEditorLite
ref="schemaEditorRef"
@@ -42,6 +43,7 @@
name="raw-sql"
:tab="$t('schema-editor.raw-sql')"
style="height: 100%"
+ display-directive="show:lazy"
>
<div
class="w-full h-full grid grid-rows-[50px,_1fr] overflow-y-auto"