前端访问后台接口时,接口状态200,但是预览中是Hi there! Please enable Javascript in your browser to use Ant Design, Out-of

前端访问后台接口时,接口状态200,但是预览中是:Hi there! Please enable Javascript in your browser to use Ant Design, Out-of-the-box mid-stage front/design solution!

原因:

接口代理访问地址不对。

解决:

修改proxy.js中的代理地址,使页面中访问的实际地址与后端接口提供的一致。

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Hi! I apologize for any confusion, but as a text-based AI model, I don't have the capability to enable or interact with specific browser settings like JavaScript. However, I can provide you with some general guidance on how to enable JavaScript in commonly used browsers. To enable JavaScript in your browser, please follow these steps: 1. Google Chrome: - Click on the three-dot menu in the top-right corner and select "Settings". - Scroll down and click on "Advanced" to expand the advanced settings. - Under the "Privacy and security" section, click on "Site Settings". - Find and click on "JavaScript" to access the JavaScript settings. - Toggle the switch to enable JavaScript. 2. Mozilla Firefox: - Click on the three-line menu in the top-right corner and select "Options". - In the left sidebar, click on "Privacy & Security". - Under the "Permissions" section, check the box next to "Enable JavaScript". - Close the options tab to save the changes. 3. Microsoft Edge: - Click on the three-dot menu in the top-right corner and select "Settings". - Scroll down and click on "Cookies and site permissions". - Click on "JavaScript" to access the JavaScript settings. - Toggle the switch to enable JavaScript. Please note that these instructions may vary slightly depending on the browser version you are using. Once you have enabled JavaScript in your browser, you should be able to utilize Ant Design without any issues. If you have any further questions or if there's something else I can help you with, please let me know!

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值