mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
feat:初始化请求事件参数细化
This commit is contained in:
parent
04ed32bb14
commit
ed53f47f5b
@ -693,8 +693,8 @@ export default class Page extends React.Component<PageProps> {
|
|||||||
...value?.data,
|
...value?.data,
|
||||||
responseData: value?.ok ? value?.data ?? {} : value,
|
responseData: value?.ok ? value?.data ?? {} : value,
|
||||||
responseStatus:
|
responseStatus:
|
||||||
value?.status === undefined ? (store.error ? 1 : 0) : value?.status,
|
value?.status === undefined ? (store?.error ? 1 : 0) : value?.status,
|
||||||
responseMsg: value.msg || store.msg
|
responseMsg: value?.msg || store?.msg
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user