Axios request url address problem

As indicated by the arrow in the

figure, I cannot request the url when I write this url, when I request it, but it can be printed when I print it. So is it only this.$http.get ("/ login/cellphone") , or is there something wrong with my writing

?
Mar.16,2021

look at your data , your url is _ const.ip +'/ login/cellphone' , so the url is _ const.ip +'/ login/cellphone' , not / login/cellphone .


axios.get(this.url, {
    params: {
      
    }
  })
  .then(function (response) {
     
       })

isn't it supposed to be like this?


feels that you should have configured the global axios default value axios.defaults.baseURL


Whether

is the problem pointed to by this, change it to the following try

let that=this;
this.$http.get (that.url, {

)
params: {
  phone:that.phone,
   password:that.password
}

})
.then (function (response) {

 
   })
The

problem has been found, that is, the ip address I wrote myself forgot to add http://

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-7c3d12-276d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-7c3d12-276d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?