feat:更换项目详情接口

This commit is contained in:
lixg
2023-02-14 20:58:46 +08:00
parent 47778cb8e0
commit 411dc2fe9b
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
* @Author: lixg lixg@dongwu-inc.com * @Author: lixg lixg@dongwu-inc.com
* @Date: 2023-01-19 14:59:34 * @Date: 2023-01-19 14:59:34
* @LastEditors: lixg lixg@dongwu-inc.com * @LastEditors: lixg lixg@dongwu-inc.com
* @LastEditTime: 2023-02-13 18:00:16 * @LastEditTime: 2023-02-14 20:57:56
* @FilePath: /stu_h5/src/views/pathmap/LevelList.vue * @FilePath: /stu_h5/src/views/pathmap/LevelList.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
@@ -53,7 +53,7 @@ const listheight = document.body.clientHeight - 310 + "px";
const { const {
query: { routerId }, query: { routerId },
} = useRoute(); } = useRoute();
const { data } = useRequest(ROUTER_DETAILS, { routerId: routerId }); const { data } = useRequest(ROUTER_PROCESS, { routerId: routerId });
console.log("获取路径图", data); console.log("获取路径图", data);
</script> </script>

View File

@@ -169,7 +169,7 @@ const {
} = useRoute(); } = useRoute();
const router = useRouter(); const router = useRouter();
const { data } = useRequest(PROJECT_DETAIL, { const { data } = useRequest(PROJECT_PROCESS, {
projectId: projectId || courseId, projectId: projectId || courseId,
}); });