Ver código fonte

参数替换

martin.ma 3 anos atrás
pai
commit
533b6dc81b
1 arquivos alterados com 4 adições e 1 exclusões
  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)