Browse Source

掉用app列表

李富豪 8 tháng trước cách đây
mục cha
commit
19db7b27bd
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      app/components/chat.tsx

+ 1 - 3
app/components/chat.tsx

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