From 4475972af3e4ccd5d83421cedac4d70a296914fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=AE=97=E6=B4=8B?= Date: Mon, 31 Oct 2022 22:24:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20sql=E6=89=A7=E8=A1=8C=E5=99=A8=20?= =?UTF-8?q?=E8=8E=B7=E5=8F=96sql=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mayfly_go_web/src/views/ops/db/SqlExec.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mayfly_go_web/src/views/ops/db/SqlExec.vue b/mayfly_go_web/src/views/ops/db/SqlExec.vue index 95792199..94ae7530 100644 --- a/mayfly_go_web/src/views/ops/db/SqlExec.vue +++ b/mayfly_go_web/src/views/ops/db/SqlExec.vue @@ -1242,6 +1242,9 @@ const setSqlEditorValue = (value: string) => { monacoEditor.getModel()?.setValue(value); }; +const getCodermirrorValue = () => { + return codemirror.getValue(); +}; /** * 获取用户保存的sql模板名称