feat:初始化请求事件参数细化

This commit is contained in:
lvxiaojiao 2023-05-09 16:05:41 +08:00
parent 04ed32bb14
commit ed53f47f5b

View File

@ -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
})
);