|
@@ -115,7 +115,7 @@ const handleLogisticNoChange = async (logisticNo: string) => {
|
|
|
|
|
|
|
|
try {
|
|
try {
|
|
|
if (selected) {
|
|
if (selected) {
|
|
|
- const res = await queryTrack({ logisticNo: logisticNo });
|
|
|
|
|
|
|
+ const res = await queryTrack({ logisticNo: logisticNo, id: selected.id });
|
|
|
// 1. 兼容处理:有些接口返回在 res.data,有些可能直接是 res
|
|
// 1. 兼容处理:有些接口返回在 res.data,有些可能直接是 res
|
|
|
const dataList = res.data || [];
|
|
const dataList = res.data || [];
|
|
|
if (Array.isArray(dataList) && dataList.length > 0) {
|
|
if (Array.isArray(dataList) && dataList.length > 0) {
|