前端访问后台接口时,接口状态200,但是预览中是:Hi there! Please enable Javascript in your browser to use Ant Design, Out-of-the-box mid-stage front/design solution!
原因:
接口代理访问地址不对。
解决:
修改proxy.js中的代理地址,使页面中访问的实际地址与后端接口提供的一致。
前端访问后台接口时,接口状态200,但是预览中是:Hi there! Please enable Javascript in your browser to use Ant Design, Out-of-the-box mid-stage front/design solution!
原因:
接口代理访问地址不对。
解决:
修改proxy.js中的代理地址,使页面中访问的实际地址与后端接口提供的一致。