1. <script>
    2. /* axios 是一个promise */
    3. var url ="http://localhost:8000/more"
    4. axios.get(url).then(res=>{
    5. console.log(res)
    6. })
    7. </script>