mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix: custom request response set to variable not displaying correctly (#6793)
This commit is contained in:
parent
090e012384
commit
9c789b88c4
@ -89,7 +89,7 @@ export const useCustomizeRequestActionProps = () => {
|
|||||||
variables,
|
variables,
|
||||||
localVariables: [
|
localVariables: [
|
||||||
...localVariables,
|
...localVariables,
|
||||||
{ name: '$nResponse', ctx: new Proxy({ ...res?.data, ...res?.data?.data }, {}) },
|
{ name: '$nResponse', ctx: new Proxy({ ...res?.data?.data, ...res?.data }, {}) },
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
successMessage = interpolateVariables(exp, expScope);
|
successMessage = interpolateVariables(exp, expScope);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user