Skip to content

Commit

Permalink
fix(setter): params is not shell SettingField
Browse files Browse the repository at this point in the history
  • Loading branch information
liujuping committed Feb 4, 2024
1 parent 19eb917 commit 86d50e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/designer/src/designer/setting/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class Transducer {
}
if (isDynamicSetter(setter) && isDynamic) {
try {
setter = setter.call(context, context);
setter = setter.call(context.internalToShellField(), context.internalToShellField());
} catch (e) { console.error(e); }
}

Expand Down

0 comments on commit 86d50e0

Please sign in to comment.