egg.js要实现跨域访问,需要安装egg-cors插件. egg-cors的github链接:https://github.com/eggjs/egg-cors. config.default.js配置:.
確定! 回上一頁