Browse Source

消除注释

dev
巴林闲侠 2 years ago
parent
commit
9755b9eb4a
  1. 6
      web/client/src/sections/data/containers/dataQuery.jsx

6
web/client/src/sections/data/containers/dataQuery.jsx

@ -11,7 +11,7 @@ import DataQueryCkeck from '../components/dataQueryCheck'
import { Form, Button, Skeleton, Table, Pagination, Space } from '@douyinfe/semi-ui';
import '../style.less'
const Console = (props) => {
const DataQuery = (props) => {
const { dispatch, actions, user, dataContinuityType, dataContinuity } = props
const { data: sectionData } = actions
const [query, setQuery] = useState({ limit: 10, page: 0 }); //
@ -56,7 +56,6 @@ const Console = (props) => {
layout="horizontal"
style={{ position: "relative", width: "100%", flex: 1 }}
onSubmit={(values) => {
console.log(values);
if (values?.createTimes?.length) {
values.createTimes = [moment(values?.createTimes[0]).format('YYYY-MM-DD HH:mm:ss'), moment(values?.createTimes[1]).format('YYYY-MM-DD HH:mm:ss')]
}
@ -109,7 +108,6 @@ const Console = (props) => {
title: '数据类型',
dataIndex: 'typeName',
render: (text, record, index) => {
console.log(record);
return record?.alarmDataContinuityType?.name || ''
}
}, {
@ -194,4 +192,4 @@ function mapStateToProps (state) {
};
}
export default connect(mapStateToProps)(Console);
export default connect(mapStateToProps)(DataQuery);

Loading…
Cancel
Save