guhongwei 4 years ago
parent
commit
c24502d0c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      store/trainplan.js

+ 1 - 1
store/trainplan.js

@@ -28,7 +28,7 @@ const actions = {
     return res;
     return res;
   },
   },
   async updateclass({ commit }, { id, ...data }) {
   async updateclass({ commit }, { id, ...data }) {
-    const res = await this.$axios.$post(`${api.interface}/updateclass/${id}`, data);
+    const res = await this.$axios.$post(`${api.interface}/updateclass`, data);
     return res;
     return res;
   },
   },
   async delete({ commit }, payload) {
   async delete({ commit }, payload) {