diff --git a/web/src/management/pages/list/index.vue b/web/src/management/pages/list/index.vue index cf349025..6ed71124 100644 --- a/web/src/management/pages/list/index.vue +++ b/web/src/management/pages/list/index.vue @@ -219,7 +219,7 @@ const onSetGroup = async () => { } const onCloseModifyInTeamWork = (data: IWorkspace) => { - if (spaceType.value === SpaceType.Teamwork) { + if (activeValue.value === MenuType.SpaceGroup) { const currentData = workSpaceList.value.find((item) => item._id === data._id) if (currentData) { currentData.name = data.name