javascript - Why are ajax requests sometimes correct and sometimes incorrect?
给我你的怀抱
给我你的怀抱 2017-07-05 10:59:44
0
3
748


I’m really confused, sometimes wrong and sometimes right. Am I confused?
Is it a problem with webpack?

给我你的怀抱
给我你的怀抱

reply all(3)
ringa_lee

Maybe it has reference value https://fukun.org/archives/01...

扔个三星炸死你

This request address is wrong, right? Is it requesting Douban? Set up proxy. If you are using vue-cli, index.js in the config folder

proxyTable: {
      '/v2': {
        target: 'https://api.douban.com/v2',
        changeOrigin: true
      }
    }
phpcn_u1582

Do you use Douban to have permissions for some interfaces

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!