diff --git a/src/views/project/layout/components/ProjectLayoutCreate/components/CreateModal/index.vue b/src/views/project/layout/components/ProjectLayoutCreate/components/CreateModal/index.vue index dd6af50f..4c77f4ac 100644 --- a/src/views/project/layout/components/ProjectLayoutCreate/components/CreateModal/index.vue +++ b/src/views/project/layout/components/ProjectLayoutCreate/components/CreateModal/index.vue @@ -100,7 +100,7 @@ const btnHandle = async (key: string) => { if(res.code === ResultEnum.SUCCESS) { window['$message'].success(window['$t']('project.create_success')) - const { id } = res + const { id } = res.data const path = fetchPathByName(ChartEnum.CHART_HOME_NAME, 'href') routerTurnByPath(path, [id], undefined, true) closeHandle()