Commit 255c62e6 authored by 张子雨's avatar 张子雨

feat: 解决sentry问题

parent 72b7811b
...@@ -248,7 +248,9 @@ const UpdateStatusModal = (props, ref) => { ...@@ -248,7 +248,9 @@ const UpdateStatusModal = (props, ref) => {
const onOk = async () => { const onOk = async () => {
const submitApi = oldPackageList.length === 0 ? apiDeliveriesAdd : apiDeliveriesEdit; const submitApi = oldPackageList.length === 0 ? apiDeliveriesAdd : apiDeliveriesEdit;
formRef.current.form.validateFields().then(async values => { formRef.current.form
.validateFields()
.then(async values => {
const packageList = onFilterParams(values.packageList); const packageList = onFilterParams(values.packageList);
// 对比修改差异 // 对比修改差异
...@@ -292,7 +294,8 @@ const UpdateStatusModal = (props, ref) => { ...@@ -292,7 +294,8 @@ const UpdateStatusModal = (props, ref) => {
onCancel(); onCancel();
actionRef.current.reload(); actionRef.current.reload();
} }
}); })
.catch(err => {});
}; };
useImperativeHandle(ref, () => ({ useImperativeHandle(ref, () => ({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment