function func1() { // getChargeType是请求的API return getChargeType().then(({ result }) => { console.log(result); return result; }); }; func1().then((res) => { console.log(res); // getChargeItemsQueryById是请求的API getChargeItemsQueryById({ id: record.chargeItemId }).then(({ result }) => { console.log(result); }); });