diff --git a/src/store/index.js b/src/store/index.js index 108974c..eba75ae 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1,6 +1,7 @@ import { createStore } from "vuex"; import { PROJECT_PROCESS, ROUTER_PROCESS, PROFESSIONAL_STUDENT_DETAIL } from "@/api/api"; import { request } from "@/api/request"; +import { growthRequest } from "@/api/growthRequest"; import { TASK_TYPES } from "@/api/CONST"; export default createStore({ @@ -123,7 +124,7 @@ export default createStore({ }); }, getGrowthInfo(content, { routerId }) { - request(PROFESSIONAL_STUDENT_DETAIL(routerId)).then(res => { + growthRequest(PROFESSIONAL_STUDENT_DETAIL(routerId)).then(res => { content.commit("SET_GROWTH_INFO", res.data); }) },