fix(web): [chat_dashboard]Editor always run the first sql (#1413)

This commit is contained in:
katakuri
2024-04-12 14:26:31 +08:00
committed by GitHub
parent c3ae1915d2
commit 583009305a
26 changed files with 21 additions and 20 deletions

View File

@@ -575,6 +575,7 @@ function DbEditor() {
)}
onClick={() => {
setCurrentTabIndex(index);
setNewEditorValue(editorValue?.[index]);
}}
>
{item.title}