⚛️ React 生态 #React
2022-07-20 记录react开头写法
2022年7月20日 1 min read
// 广告位编辑器
const Editor = inject('operatorStore')(
observer((props) => {
const {
currentBannerType,
currentBanners,
templates,
} = props.operatorStore.operatorBannerState
const currentTemplate = templates[currentBannerType] || {}
...