完善临时运行命令时的逻辑

This commit is contained in:
fofolee
2025-01-26 15:26:27 +08:00
parent f1dd98624e
commit baf5217132
3 changed files with 52 additions and 35 deletions

View File

@@ -189,9 +189,11 @@ export default defineComponent({
}
},
handleConfirm() {
const outputVariable = {
name: this.simpleOutputVar,
};
const outputVariable = {};
if (this.simpleOutputVar) {
outputVariable.name = this.simpleOutputVar;
}
if (this.currentOutputs) {
const flatVars = {};