onLoad(){
setTimeout(()=>{
uni.showLoading({
title: '开始'
})
for(let i = 0;i< 10000;i ){
for(let j = 0;j<1000;j ){
this.str = 'wc'
}
}
uni.hideLoading()
},0)
},
这是在 “我的” 页面中onLoad的逻辑。
现象见下方视频:
!
1 个回复
超级大乐透 (作者) - 啥都不会的程序员
视频连接:https://html-1256937236.cos.ap-chengdu.myqcloud.com/3ED6EF0FE601CCC482EF60ED3E4617CA.mp4