renderjs-echarts示例中 change 监听 prop绑定的option数据发生改变的时候会触发updateEcharts方法,但并没有说明其中的参数,前两个分别是 数据更新后,更新前。 后两个通过打印发现结果好像是一样的 ,但其中的方法都是做什么用的呢?又有什么区别?
<view @click="echarts.onClick" :prop="option" :change:prop="echarts.updateEcharts" id="echarts" class="echarts"></view>updateEcharts(newValue, oldValue, ownerInstance, instance) {  
    // 监听 service 层数据变更  
    myChart.setOption(newValue)  
} 
             
             
             
			 
                                        
                                     
                                                                    ![[已删除]](https://img-cdn-tc.dcloud.net.cn/account/identicon/1d0ac3957d2f415f3076588b7c8630fb.png) 
                                                                     
            
BigBoss030 (作者)
谁知道呢都没人回答一下
2020-09-30 16:40