click方法不好使,想到了用js来触发事件。
document.getElementsByClassName('xxx')[0].__reactEventHandlers$9s0hmkv3uas.onTouchEnd()
------------------------------- for( var key in document.getElementsByClassName('xxx')[0]) { if(key.startsWith('__reactEvent')){ eval('document.getElementsByClassName(\'xxx\')[0].' + key + '.onTouchEnd()'); } }
|