运行之后的页面是”不能get“字样,控制台报错是Failed to load resource: the server responded with a status of 404 (Not Found)
于是发现在路由导入时有两个路由重名了,所以找不到另一个路由的路径。
404错误又称为”资源找不到“错误,应该在排错的时候从资源的传输路径上寻找问题所在。
Failed to load resource: the server responded with a status of 404 (Not Found)
最新推荐文章于 2024-06-24 22:30:34 发布