diff --git a/src/pages/chat/components/ChatUI.tsx b/src/pages/chat/components/ChatUI.tsx index 2e1a0fa..7c29efd 100644 --- a/src/pages/chat/components/ChatUI.tsx +++ b/src/pages/chat/components/ChatUI.tsx @@ -71,7 +71,7 @@ const ChatUI = () => { const [allNames, setAllNames] = useState([]); const [showMembers, setShowMembers] = useState(false); const [messages, setMessages] = useState([]); - const [showAd, setShowAd] = useState(true); + const [showAd, setShowAd] = useState(false); const [inputMessage, setInputMessage] = useState(""); const [pendingContent, setPendingContent] = useState(""); const [isTyping, setIsTyping] = useState(false); @@ -452,10 +452,11 @@ const ChatUI = () => { {/* 右侧头像组和按钮 */}