修改1群的群规

This commit is contained in:
hobby
2025-03-06 23:48:05 +08:00
parent d01fe807cb
commit 5c91f75074
2 changed files with 4 additions and 3 deletions

View File

@@ -150,6 +150,7 @@ const ChatUI = () => {
return group.members.indexOf(a.id) - group.members.indexOf(b.id);
});
const allNames = groupAiCharacters.map(character => character.name);
allNames.push('user');
const [users, setUsers] = useState([
{ id: 1, name: "我" },
...groupAiCharacters