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) {