martin.ma 3 lat temu
rodzic
commit
533b6dc81b
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      components/sign/step-education.vue

+ 4 - 1
components/sign/step-education.vue

@@ -204,7 +204,10 @@ export default {
         if (it.id) {
           item1.id = it.id;
         }
-        return item1;
+        return {
+          ...it,
+          ...item1
+        };
       });
       const res = await this.$axios.$post("/api/user_education/save_all", {
         data: JSON.stringify(data)