当使用axios Promise库时,它允许您设置查询默认值以用于所有请求,如下所示: ... const firstAPI = axios.create({ baseURL: 'http://first-api.com' }) const ...
確定! 回上一頁