未验证 提交 3fb158c8 编写于 作者: Mr.奇淼('s avatar Mr.奇淼( 提交者: GitHub

Merge pull request #780 from iptop/master

解决echarts和vue存在的冲突问题
......@@ -11,6 +11,7 @@
</template>
<script>
import echarts from 'echarts'
import { toRaw } from 'vue'
import 'echarts/theme/macarons'
var dataAxis = []
......@@ -64,7 +65,7 @@ export default {
this.setOptions()
},
setOptions() {
this.chart.setOption({
toRaw(this.chart).setOption({
grid: {
left: '40',
right: '20',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册