state队列 用户8717777357850 2024-02-19 72 阅读1分钟 设置 state 只会为下一次渲染变更 state 的值 一个 state 变量的值永远不会在一次渲染的内部发生变化 # 把一系列 state 更新加入队列