Koa+Taro搭建CMS Posted on 2019-04-26 | Edited on 2019-04-30 登录功能使用 POST 请求 用户认证注册功能验证码12345678910const svgCaptcha = require('svg-captcha');// 生成验证码const captcha = svgCaptcha.create();router.get('/signup', async (ctx, next) => { ctx.status = 200; ctx.type = 'svg'; ctx.body = captcha.data;}) dashboard