手机号码,快捷登录
签到天数: 802 天
[LV.10]以坛为家III
2053
2111
72万
管理员
import {throttle} from "lodash";
constructor(props){ super(props) this.state={ list:[] } this.showScreen = throttle(this.showScreen,1000)}
showScreen=(e)=>{ console.log(e)}
componentWillUnmount = () => { this.showScreen.cancel(); this.setState = (state, callback) => { return; };}
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|Java自学者论坛 ( 声明:本站文章及资料整理自互联网,用于Java自学者交流学习使用,对资料版权不负任何法律责任,若有侵权请及时联系客服屏蔽删除 )
GMT+8, 2024-11-15 01:49 , Processed in 1.999289 second(s), 29 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.