摘要: 原文链接: https://www.cnblogs.com/yalong/p/16450036.html 一般情况下,koa2设置跨域资源共享,下面的代码就够用了 app.use(async (ctx, next) => { ctx.set('Access-Control-Allow-Origin' 阅读全文
posted @ 2022-07-06 11:14 进军的蜗牛 阅读(505) 评论(0) 推荐(1) 编辑