// 服务响应后的操作 const fn= async ()=>{ console.log('hahaha') } // 你的接口 success: async (res) => { await fn(res) console.log(res);//在此需要等待可能3~7秒,但是往往就是打开就输出了。等不到返回值res }
阅读量:1
点赞量:0