Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
HSunboy committed Nov 20, 2023
1 parent 6303008 commit c8055e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/locales/must/strings/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"portal.connection.form.test.success.cloud": "测试成功,保存后单击连接名称即可登录使用啦!",
"odc.components.ConnectionCardList.TheTagHasBeenModified": "修改标签成功",
"login.account.valid": "支持英文、数字、下划线和特殊字符(._+@#$%)的组合,长度为 4~48 个字符",
"odc.EditorToolBar.actions.sql.RunF": "运行 F8",
"odc.EditorToolBar.actions.sql.RunF": "运行 F8/Ctrl+Enter",
"password.label.confirm1": "确认密码",
"odc.TreeNodeMenu.config.table.SingleTableExport": "单表导出",
"odc.ImportDrawer.ImportForm.Mode": "模式",
Expand Down
2 changes: 1 addition & 1 deletion src/page/Workspace/components/SQLPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export class SQLPage extends Component<IProps, ISQLPageState> {
this.editor.addAction({
id: 'sql_executeSql',
label: 'execute',
keybindings: [monaco.KeyCode.F8],
keybindings: [monaco.KeyCode.F8, monaco.KeyMod.CtrlCmd | monaco.KeyCode.Enter],
run: () => this.handleExecuteSQL(),
});
this.editor.addAction({
Expand Down

0 comments on commit c8055e2

Please sign in to comment.