mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-07 21:46:12 +08:00
修复输出变量名在某些情况下无法修改的bug
This commit is contained in:
parent
504121166d
commit
6241ed18b5
@ -270,7 +270,7 @@ export default defineComponent({
|
||||
|
||||
if (this.currentOutputs) {
|
||||
const flatVars = {};
|
||||
Object.entries(this.outputVars).forEach(([path, value]) => {
|
||||
Object.entries(this.outputVars || {}).forEach(([path, value]) => {
|
||||
if (!value) return; // 跳过空值
|
||||
flatVars[path] = value;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user