不论条件移除子输入框

This commit is contained in:
fofolee 2022-06-07 19:39:03 +08:00
parent 700c3875c1
commit a96c886bfe

View File

@ -305,9 +305,9 @@ export default {
}, },
stopRun() { stopRun() {
this.runResult = []; this.runResult = [];
utools.removeSubInput();
if (!!this.$root.subInputEvent) { if (!!this.$root.subInputEvent) {
this.subInputValue = ""; this.subInputValue = "";
utools.removeSubInput();
document.removeEventListener(...this.$root.subInputEvent); document.removeEventListener(...this.$root.subInputEvent);
} }
this.clear(); this.clear();