Zhuyi731 / echarts-for-wx-uniapp

uni-app echarts vue2小程序专用
331 stars 37 forks source link

滑动事件怎么监听 #4

Closed yah0130 closed 4 years ago

yah0130 commented 4 years ago

我监听的touchstart结果没有参数传递进来

Zhuyi731 commented 4 years ago

我监听的touchstart结果没有参数传递进来

你怎么监听的 把代码发出来一下。

Zhuyi731 commented 4 years ago

我监听的touchstart结果没有参数传递进来

如果是通过options绑定的,options因为是放在data里所以不支持函数 需要通过refs.$curChart.setOption(yourOption)来绑定

yah0130 commented 4 years ago

嗯搞定了

发自我的iPhone

在 2020年1月9日,18:16,Incarnation notifications@github.com 写道:



我监听的touchstart结果没有参数传递进来

如果是通过options绑定的,options因为是放在data里所以不支持函数 需要通过refs.$curChart.setOption(yourOption)来绑定

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Zhuyi731/echarts-for-wx-uniapp/issues/4?email_source=notifications&email_token=AGAAXPTOL7I4TOL6MHFO7ILQ432P7A5CNFSM4KEVNKH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIPYMFY#issuecomment-572491287, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGAAXPRFA6MEL2CC6DZM6CLQ432P7ANCNFSM4KEVNKHQ.