请问axios发送get请求 哪里错了

img

img

写法有问题,改成这样试试

axios.get('http://localhost:3000/posts').then(response => {
            
        });
  1. 首先 url错了 。其次 写法问题