sql执行器页面易用性优化
一些页面美化
This commit is contained in:
@@ -93,6 +93,10 @@ export default {
|
||||
// console.log('change content:' + content);
|
||||
// editor.execCommand("startAutocomplete");
|
||||
});
|
||||
editor.getSession().selection.on('changeSelection', function (e) {
|
||||
let sqlValue = editor.session.getTextRange(editor.getSelectionRange());
|
||||
vm.$emit('cursorSelection',sqlValue)
|
||||
})
|
||||
editor.commands.addCommand({
|
||||
name: "start-autocomplete",
|
||||
bindKey: {win: "Alt-Enter", mac: "Alt-Enter"},
|
||||
|
||||
Reference in New Issue
Block a user