代码拉取完成,页面将自动刷新
已经启动好了go后端,vue前端也能启动,但是访问报错,前端启动后输出如下:
App running at:
- Local: http://localhost:8081/[{[ .StaticURL ]}]/
- Network: http://172.17.7.142:8081/[{[ .StaticURL ]}]/
访问8081端口,进不去,浏览器控制台报错:
Uncaught SyntaxError: Unexpected token '<' (at api.js?render=explicit:1:1)
VM3005:1 Uncaught SyntaxError: Expected property name or '}' in JSON at position 2
at JSON.parse (<anonymous>)
at (index):33:31