Jelajahi Sumber

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

芋道源码 2 tahun lalu
induk
melakukan
95e6b3904e
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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;
           }