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