}</MyContext.Consumer> 或者hook的写法 const theContextValue = useContext(MyContext) 来把想要读取的数据取回来再进行消费。 在 新版Context API 的 ...
確定! 回上一頁