🌐 AI搜索 & 代理 主页
Skip to content

Commit d376ada

Browse files
committed
Fix editInboundObjectFn utility scriptlet
1 parent d8ed2c2 commit d376ada

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/js/resources/json-edit.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,11 @@ function editInboundObjectFn(
216216
return objAfter;
217217
};
218218
proxyApplyFn(propChain, function(context) {
219-
const i = getArgPos(context.args);
219+
const i = getArgPos(context.callArgs);
220220
if ( i !== undefined ) {
221-
const obj = editObj(context.args[i]);
221+
const obj = editObj(context.callArgs[i]);
222222
if ( obj ) {
223-
context.args[i] = obj;
223+
context.callArgs[i] = obj;
224224
}
225225
}
226226
return context.reflect();

0 commit comments

Comments
 (0)