Commit fdaa4fce authored by 健杭 徐's avatar 健杭 徐
Browse files

menu

parent 3fd86fbd
......@@ -59,7 +59,7 @@ function addNewRoom() {
newRoom.className = "chat-item";
newRoom.innerHTML = `
<img src="${RoomProfile}" alt="Avatar" class="avatar" />
<div class="chat-info">
<div class="chat-info" >
<h3>${RoomNameInput}</h3>
<span class="chat-message">New message</span>
<span class="chat-time">Time</span>
......@@ -85,7 +85,6 @@ function closeOpenDiv() {
(document.getElementsByClassName("RoomNameInput")[0] as HTMLInputElement).value = '';
}
// 单个聊天房间组件
interface MessageProps {
roomId: number; // room id
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment