wyling пре 3 година
родитељ
комит
66b76307b0
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/views/login.vue

+ 2 - 2
src/views/login.vue

@@ -99,8 +99,8 @@ export default {
   methods: {
     getCode() {
       getCodeImg().then(res => {
-        this.codeUrl = "data:image/gif;base64," + res.img;
-        this.loginForm.uuid = res.uuid;
+        this.codeUrl = "data:image/gif;base64," + res.data.img;
+        this.loginForm.uuid = res.data.uuid;
       });
     },
     getCookie() {