Explorar o código

掉用app列表

李富豪 hai 6 meses
pai
achega
19db7b27bd
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  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');