...
|
...
|
@@ -381,10 +381,10 @@ |
|
|
<div id="main" style="width: 600px;height:400px;">hjfhjfghjh</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<script src="./echarts.min.js"></script>
|
|
|
<!--<script src="./echarts.min.js"></script>-->
|
|
|
<script type="text/javascript">
|
|
|
// 基于准备好的dom,初始化echarts实例
|
|
|
|
|
|
var echarts = require('./echarts.min.js')
|
|
|
console.log(echarts)
|
|
|
var myChart = echarts.init(document.getElementById('main'));
|
|
|
|
...
|
...
|
|