1.引入import axios from 'axios';
2.let url = "badu.com";
  let [accessToken,extAccessToken] = ["wewewewew","dsdddwew"]
  axios.get(url,{
    params:{this.page},
    headers: {'accessToken': accessToken, 'extAccessToken': extAccessToken}})
    .then(function(result) {
    console.log(result.data.data);
  });
Logo

前往低代码交流专区

更多推荐