Browse Source

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

张延森 5 years ago
parent
commit
1d0a48d6cf
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      src/components/charts/Line.js

+ 4
- 2
src/components/charts/Line.js View File

142
     // this.refreshChart(this.props.source)
142
     // this.refreshChart(this.props.source)
143
 
143
 
144
     return (
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
       </View>
149
       </View>
148
     )
150
     )
149
   }
151
   }