ruoyi-ui/src/views/register.vue
@@ -115,8 +115,8 @@ 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; } }); }, @@ -145,7 +145,7 @@ }; </script> <style rel="stylesheet/scss" lang="scss"> <style rel="stylesheet/scss" scoped> .register { display: flex; justify-content: center;