fix: 解决冲突

This commit is contained in:
dayou 2024-10-31 21:40:32 +08:00
parent 12f19559a9
commit f01465aa6c

View File

@ -219,7 +219,7 @@ const onSetGroup = async () => {
} }
const onCloseModifyInTeamWork = (data: IWorkspace) => { const onCloseModifyInTeamWork = (data: IWorkspace) => {
if (spaceType.value === SpaceType.Teamwork) { if (activeValue.value === MenuType.SpaceGroup) {
const currentData = workSpaceList.value.find((item) => item._id === data._id) const currentData = workSpaceList.value.find((item) => item._id === data._id)
if (currentData) { if (currentData) {
currentData.name = data.name currentData.name = data.name