微信小程序如何实现js 触发 button 微信小程序如何实现js 触发 button微信小程序如何实现js 触发 button
获取button元素,然后用addeventlistener绑定点击事件
你 给元素 加个 点击事件 。点击事件 封装一个函数 。然后调用函数 就 行了