forked from yoone/WEB
fix:接口参数调整
This commit is contained in:
parent
c0f05bc6fe
commit
0da1459e3f
|
|
@ -137,7 +137,7 @@ const ListPage: React.FC = () => {
|
|||
try {
|
||||
setIsLoading(true);
|
||||
const { success, message: errMsg } =
|
||||
await logisticscontrollerDeleteshipment(record.id);
|
||||
await logisticscontrollerDeleteshipment({id:record.id});
|
||||
if (!success) {
|
||||
throw new Error(errMsg);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,6 +30,11 @@ const TrackPage: React.FC = () => {
|
|||
onChange(value: string) {
|
||||
setId(value);
|
||||
setData({})
|
||||
|
||||
const { data } = await logisticscontrollerGetlistbyorderid({
|
||||
id,
|
||||
});
|
||||
setData(data);
|
||||
},
|
||||
placeholder: '请输入订单号',
|
||||
allowClear: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue