Commit 0cb49e7a by zhaochengxiang

删除警告

parent 01205eb6
import React from 'react'; import React from 'react';
import * as echarts from 'echarts'; import * as echarts from 'echarts';
import { Empty } from 'antd';
import emptyImg from '../assets/empty.png';
//https://echarts.apache.org/examples/zh/editor.html?c=treemap-show-parent&lang=js //https://echarts.apache.org/examples/zh/editor.html?c=treemap-show-parent&lang=js
class Thermodynamic extends React.Component { class Thermodynamic extends React.Component {
...@@ -31,8 +27,6 @@ class Thermodynamic extends React.Component { ...@@ -31,8 +27,6 @@ class Thermodynamic extends React.Component {
graph = undefined; graph = undefined;
render() { render() {
const { data } = this.props;
return ( return (
<div ref={ref => this.elem = ref} style={{ position: 'relative', width: '100%', height: '100%' }}> <div ref={ref => this.elem = ref} style={{ position: 'relative', width: '100%', height: '100%' }}>
</div> </div>
......
import React, { useState, useCallback, useRef, useEffect } from 'react'; import React, { useState, useCallback, useRef, useEffect } from 'react';
import { Input, Form, Typography, Button, Select, Row, Col, Popover, Checkbox, Tooltip, Table, Pagination, Space } from 'antd'; import { Input, Form, Typography, Button, Select, Row, Col, Popover, Checkbox, Tooltip, Table, Pagination, Space } from 'antd';
import { CheckOutlined, PlusOutlined, QuestionCircleOutlined, DeleteOutlined, HeartOutlined, HeartFilled } from '@ant-design/icons'; import { CheckOutlined, PlusOutlined, QuestionCircleOutlined, DeleteOutlined } from '@ant-design/icons';
import { DndProvider, useDrag, useDrop } from 'react-dnd'; import { DndProvider, useDrag, useDrop } from 'react-dnd';
import { HTML5Backend } from 'react-dnd-html5-backend'; import { HTML5Backend } from 'react-dnd-html5-backend';
import update from 'immutability-helper'; import update from 'immutability-helper';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment