事实上,任何需要被"引用"的数据都可以保存在 ref 中, useRef 的出现将这种思想 ... const refObject = { current: null, }; return refObject; }.
確定! 回上一頁