設定配置module.exports = { devServer: { proxy: { '/api. ... 為需要跨域的proxy: { //配置跨域'/api': { target: 'http://api.zhuishushenqi.com', ...
確定! 回上一頁