From 8d910cf8b43fe117ba7b76e12593a98201c85dc7 Mon Sep 17 00:00:00 2001 From: fantasticit Date: Fri, 3 Jun 2022 19:26:01 +0800 Subject: [PATCH] client: update toast info --- .../client/src/components/document/collaboration/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/client/src/components/document/collaboration/index.tsx b/packages/client/src/components/document/collaboration/index.tsx index 23c8d18..fbb925f 100644 --- a/packages/client/src/components/document/collaboration/index.tsx +++ b/packages/client/src/components/document/collaboration/index.tsx @@ -8,7 +8,6 @@ import { Input, Modal, Popconfirm, - Popover, Spin, Table, TabPane, @@ -169,7 +168,7 @@ export const DocumentCollaboration: React.FC = ({ wikiId, documentId, di newCollaborationUsers.forEach((newUser) => { if (currentUser && newUser.name !== currentUser.name && !toastedUsersRef.current.includes(newUser.id)) { - Toast.info(`${newUser.name}加入文档`); + Toast.info(`${newUser.name}-${newUser.clientId}加入文档`); toastedUsersRef.current.push(newUser.id); } });