nieyuge hace 4 meses
padre
commit
7e45dc5986
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      src/views/account/dialog/config.tsx

+ 12 - 0
src/views/account/dialog/config.tsx

@@ -11,6 +11,8 @@ interface ChatRoomDataType {
   roomId: string;
   roomName: string;
   autoRemoveUserSwitch: number;
+  showTip: number;
+  tipInfo: string;
 }
 
 interface PaginationParams {
@@ -92,6 +94,16 @@ const ChatRoomConfig: React.FC<ChatRoomConfigProps> = ({ visible, onClose, uuid,
         );
       },
     },
+    {
+      title: '提示信息',
+      dataIndex: 'tipInfo',
+      key: 'tipInfo',
+      render: (value, record) => {
+        if (record.showTip === 1) {
+          return value;
+        }
+      },
+    }
   ];
 
   const fetchChatRoomList = async (params: PaginationParams) => {