求大佬帮忙!!!umijs4 代理问题
#11798
Replies: 1 comment 1 reply
-
服务不可用的时候需要自己想办法 mock 数据。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我在使用umijs4时,请求后台接口用了代理,但后台服务关闭时整个网站就加载不出来了,一直刷新一直是个空白页,终端报了个Error occurred while proxying request XXXXX to XXXXX [ETIMEDOUT] (https://nodejs.org/api/errors.html#errors_common_system_errors)
并不是请求接口出错导致的页面崩溃,因为网站就没有加载到请求接口那里就加载不出来了
Beta Was this translation helpful? Give feedback.
All reactions