Przeglądaj źródła

掉用app列表

李富豪 8 miesięcy temu
rodzic
commit
19db7b27bd
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1 3
      app/components/chat.tsx

+ 1 - 3
app/components/chat.tsx

@@ -1099,9 +1099,7 @@ function _Chat() {
   }, [appValue, chatStore.chatMode])
 
   useEffect(() => {
-    if (!location.search.includes('showMenu=false')) {
-      init();
-    }
+    init();
     const search = location.search;
     const params = new URLSearchParams(search);
     const appId = params.get('appId');