使用js开发wearble应用,在使用previewer预览app时,拖动鼠标无法触发swipe事件。请问:previewer模拟器能否触发swipe事件?如果可以,是否是代码问题?如何修正.{{title}}分jsimportrouterfrom'system.router';varpickduration"1";varpickintensity"较慢";exportdefault{data:{title:"呼吸训练",picker1range:["1","2","3"],picker2range:["较慢","舒缓","较快"]},clickAction(){console.log("indexbtn被点击了");router.replace({uri:'pagestraningtraning',uri:'pagesprepareprepare',params:{"duration":pickduration,"intensity":pickintensity}});},}
js