Selaa lähdekoodia

update:并发bug

lrf402788946 5 vuotta sitten
vanhempi
commit
55b1f81963

+ 1 - 0
store/attendance.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/bedroom.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/classes.js

@@ -42,6 +42,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/dept.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/dir-plan.js

@@ -41,6 +41,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/director.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/duty.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/group.js

@@ -46,6 +46,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/leave.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/lesson.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/location.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/nation.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/question-answer.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/question-completion.js

@@ -37,6 +37,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/question.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/sch-import.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/sch-plan.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/school.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/score.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/student.js

@@ -41,6 +41,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/subject.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/task.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/tea-plan.js

@@ -41,6 +41,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/teacher.js

@@ -43,6 +43,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/termquest.js

@@ -36,6 +36,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {

+ 1 - 0
store/trainplan.js

@@ -42,6 +42,7 @@ const actions = {
       for (const i of data) {
         res.push(dispatch(method, i));
       }
+      return res;
     };
     let result = await axios.all(toRequest());
     let newFilter = data => {