如果在一秒内没有触发更新就会加载数据
const App = () => {
// 状态管理
const [state,setState] = useSetState({
data: null
}
如果在一秒内没有触发更新就会加载数据
const App = () => {
// 状态管理
const [state,setState] = useSetState({
data: null
}