diff --git a/src/views/register.vue b/src/views/register.vue index 396d582..a527393 100644 --- a/src/views/register.vue +++ b/src/views/register.vue @@ -115,8 +115,8 @@ export default { getCodeImg().then(res => { this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled; if (this.captchaEnabled) { - this.codeUrl = "data:image/gif;base64," + res.img; - this.registerForm.uuid = res.uuid; + this.codeUrl = "data:image/gif;base64," + res.data.img; + this.registerForm.uuid = res.data.uuid; } }); },