fix: custom request response set to variable not displaying correctly (#6793)

This commit is contained in:
Katherine 2025-04-28 21:01:35 +08:00 committed by GitHub
parent 090e012384
commit 9c789b88c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,7 +89,7 @@ export const useCustomizeRequestActionProps = () => {
variables,
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);