登陆问题



这是first.page app.js 指向的第一个page
想问这个button 绑定的方法先执行还是onload和onshow先执行啊
1 回复
onload和onshow是页面生命周期函数,可参考:https://developers.weixin.qq.com/miniprogram/dev/framework/app-service/page-life-cycle.html
你的button的事件是手动触发的