oopsie
This commit is contained in:
parent
3e61bfdeaa
commit
0407e97aa1
1 changed files with 1 additions and 2 deletions
|
@ -94,8 +94,7 @@ export default Vue.component('server-console', {
|
|||
*/
|
||||
sendCommand: function () {
|
||||
this.commandHistoryIndex = -1;
|
||||
// this.commandHistory.unshift(this.command);
|
||||
this.commandHistory.unshift();
|
||||
this.commandHistory.unshift(this.command);
|
||||
this.$socket().instance().emit('send command', this.command);
|
||||
this.command = '';
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue