mirror of
https://github.com/qishibo/AnotherRedisDesktopManager.git
synced 2026-01-25 16:46:32 +00:00
fix #187 console Upper Case bug
This commit is contained in:
parent
3d925318fc
commit
7617272d2b
@ -84,7 +84,7 @@ export default {
|
||||
// open Connections.vue menu
|
||||
this.$parent.$parent.$parent.$refs.connectionMenu.open(this.config.connectionName);
|
||||
// open connection
|
||||
this.$parent.$parent.$parent.openConnection(this.config.connectionName);
|
||||
this.$parent.$parent.$parent.openConnection();
|
||||
}
|
||||
|
||||
else {
|
||||
@ -97,7 +97,7 @@ export default {
|
||||
// open Connections.vue menu
|
||||
this.$parent.$parent.$parent.$refs.connectionMenu.open(this.config.connectionName);
|
||||
// open connection
|
||||
this.$parent.$parent.$parent.openConnection(this.config.connectionName, () => {
|
||||
this.$parent.$parent.$parent.openConnection(() => {
|
||||
this.$bus.$emit('openCli', this.client, this.config.connectionName);
|
||||
});
|
||||
}
|
||||
|
||||
@ -10,7 +10,7 @@ export default {
|
||||
return this.message.clientEmpty;
|
||||
}
|
||||
|
||||
const operation = params[0];
|
||||
const operation = params[0] ? params[0].toLowerCase() : '';
|
||||
|
||||
if (!operation || typeof client[operation] != 'function') {
|
||||
return this.message.unknownCommand;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user