会话管理 - 群聊消息 优化版
import React, {
PureComponent } from 'react';
import {
Row, Col, Card, Modal } from 'antd';
import {
renderConI } from './renderCon.js';
export default class Chatrecord extends PureComponent {
constructor(props) {
super(props);
this.state = {
modalBox: {
visible: false, data: {
} },
videos: {
},
disabled: true,
modalBoxTwo: {
visibleTwo: false, data: {
} },
modalBoxThree: {
visibleTwo: false, data: {
} },
}
};
handleModalVisible = (flag = false, item = {
}) => {
this.setState({
modalBox: {
visible: flag, data: item },
})
}
handleNextValue = (values) => {
const {
modalBox } = this.state;
this.setState({
modalBox: {
...modalBox, data: {
...values } },
})
}
handleModalVisibleTwo = (flag = false, item = {
}) => {
this.setState({
modalBoxTwo: {
visibleTwo: flag, data: item },