mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-17 17:24:27 +08:00
修复更改subcommand时,output不变更的bug
This commit is contained in:
@@ -220,7 +220,10 @@ export default defineComponent({
|
||||
code: this.generateCode(subCommand, argvs),
|
||||
};
|
||||
if (resetOutputVariable) {
|
||||
delete newModelValue.outputVariable;
|
||||
newModelValue.outputVariable = {
|
||||
name: "",
|
||||
details: {},
|
||||
};
|
||||
}
|
||||
this.$emit("update:modelValue", newModelValue);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user