Open rccoder opened 7 years ago
执行到部分逻辑的时候调用封装的接口
<View data-spm="123.33.3.33"></View>
可以封装需要点击的组件,在组件里面请求,传 data-spm 的 props
H5 的话可以拦截点击事件,计算 DOM 上的东西