Explorar o código

update yudao-ui-admin-uniapp/pages/login.vue.
代码的 getCode是错的,captchaEnable

九米互联 %!s(int64=2) %!d(string=hai) anos
pai
achega
4e0e3655f6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;
           }