From 0fe6188ed4165194774e5a63d5e8dc9e29853cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=96=E5=A7=90?= <2981176548@qq.com> Date: Fri, 15 Mar 2024 22:13:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E7=B3=BB=E7=BB=9F=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/WorkLoadPage/I_Manage_ChildSystem.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/WorkLoadPage/I_Manage_ChildSystem.vue b/src/views/WorkLoadPage/I_Manage_ChildSystem.vue index 4084c7c..f7e5a7f 100644 --- a/src/views/WorkLoadPage/I_Manage_ChildSystem.vue +++ b/src/views/WorkLoadPage/I_Manage_ChildSystem.vue @@ -77,7 +77,8 @@ import request from "@/js/request.js"; const showButton = reactive([]); const AddModule = ref(false) - +const token = window.localStorage.getItem('token') +const id = window.localStorage.getItem('id') function showAddModal(){ AddModule.value = true; } @@ -93,7 +94,7 @@ onMounted(() => { request.projectWorkGet(data, token).then((res) => { ChildProjects.value = res.data.data; }) - request.moduleGetByProjectId(null, token).then((res) => { + request.moduleGetByProjectId(id, token).then((res) => { console.log("childModules:", res) ChildSystems.value = res.data.data })