张延森 3 years ago
parent
commit
862e0e4f85
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      src/components/ECharts/index.jsx

+ 0
- 2
src/components/ECharts/index.jsx View File

45
 
45
 
46
   useEffect(() => {
46
   useEffect(() => {
47
     echartsRef.current = echarts.init(domRef.current);
47
     echartsRef.current = echarts.init(domRef.current);
48
-    console.log('---------echarts------>', domRef.current);
49
 
48
 
50
     const handleResize = () => {
49
     const handleResize = () => {
51
-      console.log('---------onresize------>', domRef.current);
52
       echartsRef.current.resize();
50
       echartsRef.current.resize();
53
     };
51
     };
54
 
52