Closed StephenWu5 closed 4 years ago
这是豆瓣 api 防盗链机制。所以导致访问图片会返回 403 http code。 你可以将 api 地址改为 https://github.com/superman66/vue2.x-douban/blob/master/src/store/api.js#L7 改成线上的 API 再试试
// 使用代理
const HOST = 'https://node-douban-api.herokuapp.com';
ok,thanks...
https://node-douban-api.herokuapp.com 这个服务器是哪位老大搭的?you?
恩,我自己搭在 herokuapp 上的。
好的
Welcome to the vue2.x-douban wiki!
为什么我本地跑起来是这么样子,有的图片请求不到,有的图片请求得到!!
能告诉我什么原因吗???