diff --git a/src/views/terminal/TerminalDoc.vue b/src/views/terminal/TerminalDoc.vue index 49c6e9ce3..5c4cb349f 100755 --- a/src/views/terminal/TerminalDoc.vue +++ b/src/views/terminal/TerminalDoc.vue @@ -176,14 +176,14 @@ export default { response = "Unknown command: " + command; } - TerminalService.$emit('response', response); + TerminalService.emit('response', response); } }, mounted() { - TerminalService.$on('command', this.commandHandler); + TerminalService.on('command', this.commandHandler); }, beforeUnmount() { - TerminalService.$off('command', this.commandHandler); + TerminalService.off('command', this.commandHandler); } } @@ -216,4 +216,4 @@ p { - \ No newline at end of file +