From d2fc6d6e5c57e4d7c32f8a112326a2879625515b Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 10 九月 2024 15:12:37 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.11.205:9000/r/se-cloud --- se-ui/src/views/register.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/se-ui/src/views/register.vue b/se-ui/src/views/register.vue index 43194ed..7e1276a 100644 --- a/se-ui/src/views/register.vue +++ b/se-ui/src/views/register.vue @@ -109,17 +109,17 @@ }; }, created() { - this.getCode(); + // this.getCode(); }, methods: { getCode() { - 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; - } - }); + // 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; + // } + // }); }, handleRegister() { this.$refs.registerForm.validate(valid => { @@ -136,7 +136,7 @@ }).catch(() => { this.loading = false; if (this.captchaEnabled) { - this.getCode(); + // this.getCode(); } }) } -- Gitblit v1.9.3