- 博客(4)
- 收藏
- 关注
原创 微信小程序生命周期 onShow与onLoad的区别
wx.redirectTo、wx.reLunch 回到当前页面效果与wx.navigateTo相同 但是会触发跳转前的页面的页面卸载钩子函数onUnload()而wx.navigateBack返回后只会触发页面显示周期onShow()onReady() 页面渲染周期。onReady() 页面渲染周期。onShow() 页面显示周期。onShow() 页面显示周期。onShow() 页面显示周期。onShow() 页面显示周期。onLoad()页面加载周期。onLoad()页面加载周期。
2024-05-20 09:20:44
453
原创 Python调试
1.抛出异常(raise)当Python试图执行无效代码时,则抛出异常。之前介绍过可使用 try-except 语句处理异常,使程序从预期的异常中恢复。现介绍使用 raise 语句在代码中抛出异常:“停止运行本函数,将程序执行到except语句”。使用raise语句,抛出异常,其包含:1. raise关键字;2. 对Exception函数的调用;3.传递给Eception函数的字符串...
2020-03-17 14:06:10
422
原创 topcoder客户端
https://community.topcoder.com/tc?module=Static&d1=applet&d2=partial-support
2019-09-22 10:59:04
484
翻译 vim from github
The Vim repository at GitHubVim is available through git. This is the most straightforward way to get Vim and keep it up-to-date. If you prefer to use Mercurial, look at the Mercurial pageYou can ob...
2019-09-21 13:25:03
126
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人