mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +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,
|
||||
responseData: value?.ok ? value?.data ?? {} : value,
|
||||
responseStatus:
|
||||
value?.status === undefined ? (store.error ? 1 : 0) : value?.status,
|
||||
responseMsg: value.msg || store.msg
|
||||
value?.status === undefined ? (store?.error ? 1 : 0) : value?.status,
|
||||
responseMsg: value?.msg || store?.msg
|
||||
})
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user