zhangjie hace 1 año
padre
commit
e50392a974

+ 1 - 1
src/modules/course/components/ModifyEndScore.vue

@@ -122,7 +122,7 @@ export default {
       if (this.isSubmit) return;
       this.isSubmit = true;
       const scoreDetail = this.modalForm.scoreDetail.map((item) => {
-        return { name: item.name, score: item.score + "" };
+        return { score: item.score + "", name: item.name };
       });
       const datas = {
         id: this.modalForm.id,

+ 1 - 1
src/modules/course/components/ModifyNormalScore.vue

@@ -114,7 +114,7 @@ export default {
       this.isSubmit = true;
 
       const normalScore = this.modalForm.normalScore.map((item) => {
-        return { name: item.name, score: item.score + "" };
+        return { score: item.score + "", name: item.name };
       });
       const datas = {
         id: this.modalForm.id,