摘要:
方案 // flex布局 .flex_func(@justify-content: flex-start, @align-items: center, @flex-direction: row, @flex-wrap: nowrap) { display: flex; justify-content 阅读全文
posted @ 2021-07-31 13:47
KevinTseng
阅读(147)
评论(0)
推荐(0)
摘要:
Reac中使用Context共享数据时,可以使用高阶组件做一个封装,方便页面使用 方式一:使用高阶组件 1.在App.js中添加状态共享Provider import Home from './page/Home' import {Provider, Context} from './AppCont 阅读全文
posted @ 2021-07-04 20:31
KevinTseng
阅读(354)
评论(0)
推荐(0)
浙公网安备 33010602011771号