Closed chanliyshun closed 7 years ago
/seller 请求 Failed to load resource: the server responded with a status of 404 (Not Found) status:404 statusText:"Not Found"
源码已经上传了,编译后的dist文件夹里的内容也上传到了gh-pages分支,无法获取到data.json的数据,请问是什么原因呢?
路径问题。要么另起web服务serve这个目录,要么放在static目录里,因为dev-server对该目录文件实现了http访问。
/seller 请求 Failed to load resource: the server responded with a status of 404 (Not Found) status:404 statusText:"Not Found"
源码已经上传了,编译后的dist文件夹里的内容也上传到了gh-pages分支,无法获取到data.json的数据,请问是什么原因呢?