axios
  .get(`https://randomuser.me/api/`)
  .then((res) => {
    console.log("第一次打API", res);
    const { seed } = res.data.info;
    console.log("seed", seed);
    return axios.get(`https://randomuser.me/api/?seed=${seed}`);
  })
  .then((res) => {
    const { seed } = res.data.info;
    console.log("第二次打API", res);
    return axios.get(`https://randomuser.me/api/?seed=${seed}`);
  })
  .then((res) => {
    const { seed } = res.data.info;
    console.log("第三次打API", res);   
  });


External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/axios/1.5.0/axios.min.js