@lvxiaowu/antd4
v1.0.2
Published
antd4-components
Downloads
7
Readme
基于 antd4 的组件库
@lvxiaowu/antd4
安装
npm install @lvxiaowu/antd4 --save
使用
import { Button } from '@lvxiaowu/antd4'
写 store 时必须注意以下几点
- 每个 store 必须有一个唯一的$storeName
- 每个 store 必须有 resetStore 方法
- 如果 store 里面含有其他 store,必须提供 getXXXStore 的方法去获取改 store