diff --git a/src/components/CommandRunResult.vue b/src/components/CommandRunResult.vue index c06fc41..0daf16b 100644 --- a/src/components/CommandRunResult.vue +++ b/src/components/CommandRunResult.vue @@ -305,9 +305,9 @@ export default { }, stopRun() { this.runResult = []; + utools.removeSubInput(); if (!!this.$root.subInputEvent) { this.subInputValue = ""; - utools.removeSubInput(); document.removeEventListener(...this.$root.subInputEvent); } this.clear();