Browse Source

!251 update yudao-ui-admin-uniapp/pages/login.vue.
Merge pull request !251 from 九米互联/N/A

芋道源码 2 years ago
parent
commit
95e6b3904e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      yudao-ui-admin-uniapp/pages/login.vue

+ 2 - 2
yudao-ui-admin-uniapp/pages/login.vue

@@ -67,8 +67,8 @@
       getCode() {
         getCodeImg().then(res => {
           res = res.data;
-          this.captchaEnable = res.enable;
-          if (this.captchaEnable) {
+          this.captchaEnabled = res.enable;
+          if (this.captchaEnabled) {
             this.codeUrl = "data:image/gif;base64," + res.img;
             this.loginForm.uuid = res.uuid;
           }