guhongwei 4 년 전
부모
커밋
c24502d0c2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      store/trainplan.js

+ 1 - 1
store/trainplan.js

@@ -28,7 +28,7 @@ const actions = {
     return res;
   },
   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;
   },
   async delete({ commit }, payload) {