Kaynağa Gözat

参数替换

martin.ma 3 yıl önce
ebeveyn
işleme
533b6dc81b
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  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)