Error in created hook (Promise/async): “AxiosError: Request failed with status code 404“

背景:

Error in created hook (Promise/async): "AxiosError: Request failed with status code 404"

原因:

路径不对导致报错

解决方法:

检查获取接口的代码,是否有空格。

猜你喜欢

转载自blog.csdn.net/weixin_56035334/article/details/126604247