linwu 3 лет назад
Родитель
Сommit
3ad9488a53
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      public/themes/default/views/app/content/buyhouse/list.blade.php

+ 2 - 1
public/themes/default/views/app/content/buyhouse/list.blade.php

@@ -611,6 +611,7 @@
                 },
                 uploadSuccessID(response, file, fileList) {
                     fileList = this.dealImageList(fileList);
+                    console.log(fileList);
                     if (response.status) {
                         this.user.certificates = fileList
                     } else {
@@ -655,7 +656,7 @@
                 },
                 dealImageList(fileList) {
                     for (var i in fileList) {
-                        fileList[i].url = fileList.response.path;
+                        fileList[i].url = fileList[i].response.path;
                     }
                     return fileList;
                 },