Ver código fonte

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

张延森 5 anos atrás
pai
commit
1d0a48d6cf
1 arquivos alterados com 4 adições e 2 exclusões
  1. 4
    2
      src/components/charts/Line.js

+ 4
- 2
src/components/charts/Line.js Ver arquivo

@@ -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
   }