开发: 撤回代码
This commit is contained in:
		@@ -242,8 +242,8 @@ const ChatLogs: React.FC = () => {
 | 
			
		||||
          // });
 | 
			
		||||
          setStaffsList(res.data);
 | 
			
		||||
          setInnerStaffsList(res.data);
 | 
			
		||||
          // getCustFollowsList();
 | 
			
		||||
          // getGroupList();
 | 
			
		||||
          getCustFollowsList();
 | 
			
		||||
          getGroupList();
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    });
 | 
			
		||||
@@ -566,11 +566,11 @@ const ChatLogs: React.FC = () => {
 | 
			
		||||
                    setSelectStaff({ ...item });
 | 
			
		||||
                    selectStaffRef.current = { ...item };
 | 
			
		||||
                    setFlolowsBox(false);
 | 
			
		||||
                    if (tabKey == '1') {
 | 
			
		||||
                      getCustFollowsList();
 | 
			
		||||
                    } else if (tabKey == '2') {
 | 
			
		||||
                      getGroupList();
 | 
			
		||||
                    }
 | 
			
		||||
                    // if (tabKey == '1') {
 | 
			
		||||
                    getCustFollowsList();
 | 
			
		||||
                    // } else if (tabKey == '2') {
 | 
			
		||||
                    getGroupList();
 | 
			
		||||
                    // }
 | 
			
		||||
                  }}
 | 
			
		||||
                  style={{ background: selectStaff?.user_id == item.user_id ? '#bae0ff' : '' }}
 | 
			
		||||
                >
 | 
			
		||||
@@ -654,11 +654,11 @@ const ChatLogs: React.FC = () => {
 | 
			
		||||
            tabBarGutter={12}
 | 
			
		||||
            onChange={(val) => {
 | 
			
		||||
              setTabKey(val);
 | 
			
		||||
              if (val == '1') {
 | 
			
		||||
                getCustFollowsList();
 | 
			
		||||
              } else if (val == '2') {
 | 
			
		||||
                getGroupList();
 | 
			
		||||
              }
 | 
			
		||||
              // if (val == '1') {
 | 
			
		||||
              //   getCustFollowsList();
 | 
			
		||||
              // } else if (val == '2') {
 | 
			
		||||
              //   getGroupList();
 | 
			
		||||
              // }
 | 
			
		||||
            }}
 | 
			
		||||
          />
 | 
			
		||||
          <div className={styles.chatBBox}>{tabContent()}</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user