Просмотр исходного кода

云塑关于我们——资质提交修改

ZhouRuiTing 5 лет назад
Родитель
Сommit
8fd1cea849
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      official_frontend/src/views/about/qualifications.vue

+ 1 - 1
official_frontend/src/views/about/qualifications.vue

@@ -139,7 +139,7 @@
                             return;
                             //有图片时
                         } else if (this.cooperationsForm.image != null) {
-                            form.append("multipartFile", this.cooperationsForm.image);
+                            form.append("file", this.cooperationsForm.image);
                         }
                         if (this.cooperationsForm.id != null) {
                             form.append("id", this.cooperationsForm.id);