|
@@ -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) => {
|