跳转到内容

Rate

文本输入框

API

IRateProps

参数类型说明默认值
allowHalfboolean是否支持半星选择-

用法

<View title="Switch" version="2">
<Record key="person" model="trantor_doc_Person" />
<Form model="trantor_doc_Person" title="编辑态">
<Fields>
<Field name="age" label="评分">
<RenderType>
<Rate />
</RenderType>
</Field>
</Fields>
</Form>
</View>

注意:当前例子为0.17.x 版本