소스 검색

Merge branch 'v3.5.1' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into v3.5.1

张延森 5 년 전
부모
커밋
1d0a48d6cf
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4
    2
      src/components/charts/Line.js

+ 4
- 2
src/components/charts/Line.js 파일 보기

@@ -142,8 +142,10 @@ export default class LineChart extends Component {
142 142
     // this.refreshChart(this.props.source)
143 143
 
144 144
     return (
145
-      <View className="map-container">
146
-        <ec-canvas ref={this.handleEcComponent} ec={this.state.ec}></ec-canvas>
145
+      <View style="width:100vw;height:530rpx;position: relative;">
146
+        <View className="map-container">
147
+          <ec-canvas ref={this.handleEcComponent} ec={this.state.ec}></ec-canvas>
148
+        </View>
147 149
       </View>
148 150
     )
149 151
   }