Open LianYue1 opened 8 years ago
<script type="text/javascript"> require.config({ packages: [ { name: 'zrender', location: 'zrender-3.1.3/src', main: 'zrender' } ] }); require( [ "zrender", "zrender/graphic/shape/Rect", ], function (zrender, Rect) { zerObject = zrender; var zr = zerObject.init(document.getElementById("main"), { renderer: 'canvas' }); var rect = new Rect({ shape: { width: 500, height: 16700, x: 50, y: 50 }, position: [10, 10] }); zr.add(rect); zr.refresh(); }); div id="main" style="height:14700px;width:500px;border:1px solid red;"
复现了,坐等大神解决,学习一下
我的IE11也有这个问题,求大神解决