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

update:评分器支持最大值

上级 830b7ad8
......@@ -4,6 +4,9 @@
<#if editor.getEditorParam('allowHalf','') != ''>
:allowHalf='${editor.getEditorParam('allowHalf','')}'
</#if>
<#if editor.getEditorParam('max', '') != ''>
:max="${editor.getEditorParam('max', '')}"
</#if>
<#if editor.getEditorParam('color','') != ''>
color='${editor.getEditorParam('color','')}'
</#if>
......
<app-mob-rate
class="app-form-item-rate"
<#if editor.getEditorParam('allowHalf','') != ''>
:allowHalf='${editor.getEditorParam('allowHalf','')}'
</#if>
<#if editor.getEditorParam('color','') != ''>
color='${editor.getEditorParam('color','')}'
</#if>
:value="data.${editor.name}" ></app-mob-rate>
\ No newline at end of file
<app-mob-rate
class="app-panel-item-rate"
:value="data.${editor.name}"
<#if editor.getEditorParam('allowHalf','') != ''>
:allowHalf='${editor.getEditorParam('allowHalf','')}'
</#if>
<#if editor.getEditorParam('max', '') != ''>
:max="${editor.getEditorParam('max', '')}"
</#if>
<#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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册