直接寫http://127.0.0.1/top-php/regi... header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.用proxy轉(zhuǎn)發(fā)就報(bào)404。 'top-php': { target: 'http://127.0.0.1:80', changeOrigin: true, secure: false
},
我在vue-cli項(xiàng)目里面請(qǐng)求本地的php接口請(qǐng)求不到
墨色風(fēng)雨
2018-08-03 20:00:22