提交 b5920cb3 编写于 作者: Mosher's avatar Mosher

update:评分器支持最大值

上级 830b7ad8
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
<#if editor.getEditorParam('allowHalf','') != ''> <#if editor.getEditorParam('allowHalf','') != ''>
:allowHalf='${editor.getEditorParam('allowHalf','')}' :allowHalf='${editor.getEditorParam('allowHalf','')}'
</#if> </#if>
<#if editor.getEditorParam('max', '') != ''>
:max="${editor.getEditorParam('max', '')}"
</#if>
<#if editor.getEditorParam('color','') != ''> <#if editor.getEditorParam('color','') != ''>
color='${editor.getEditorParam('color','')}' color='${editor.getEditorParam('color','')}'
</#if> </#if>
......
<app-mob-rate <app-mob-rate
class="app-form-item-rate" class="app-panel-item-rate"
<#if editor.getEditorParam('allowHalf','') != ''> :value="data.${editor.name}"
:allowHalf='${editor.getEditorParam('allowHalf','')}' <#if editor.getEditorParam('allowHalf','') != ''>
</#if> :allowHalf='${editor.getEditorParam('allowHalf','')}'
<#if editor.getEditorParam('color','') != ''> </#if>
color='${editor.getEditorParam('color','')}' <#if editor.getEditorParam('max', '') != ''>
</#if> :max="${editor.getEditorParam('max', '')}"
:value="data.${editor.name}" ></app-mob-rate> </#if>
\ No newline at end of file <#if editor.getEditorParam('color','') != ''>
color='${editor.getEditorParam('color','')}'
</#if>
:disabled="detailsModel.${editor.name}.disabled"
@change="(event) => { this.onPanelItemValueChange({ name: '${editor.name}', value: event }) }"/>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册