1. var url="http://192.168.4.18:3000/search?keywords=你"
    2. axios.get(url).then(res=>{
    3. console.log(res);
    4. })
    1. var url="/search"
    2. axios({
    3. url,
    4. baseURL:"http://192.168.4.18:3000",
    5. method:"get",
    6. params:{
    7. keywords:"你"
    8. }
    9. }).then(res=>{
    10. console.log(res);
    11. })