图2:功能数量与组件数量对比。
Figure 2: number of functions compared with number of components.
对于组件数量不多的页面,该方法是所需的所有结构。
For pages with small Numbers of components, this approach is all the structure that you need.
根据您所用的输入类型,有以下几个可用于创建组件数据模型的帮助类
There are several helper classes for creating the data model for the component, depending on the type of input you're after
应用推荐