提交 b4931226 编写于 作者: RedPig97's avatar RedPig97

update: 面板滑动输入条适配min、max、step参数

上级 4750960c
......@@ -2,4 +2,13 @@
class="app-panel-item-slider"
:value="data.${editor.name}"
:disabled="detailsModel.${editor.name}.disabled"
<#if editor.getEditorParam('min','') != ''>
:min='${editor.getEditorParam('min','')}'
</#if>
<#if editor.getEditorParam('max','') != ''>
max='${editor.getEditorParam('max','')}'
</#if>
<#if editor.getEditorParam('step','') != ''>
step='${editor.getEditorParam('step','')}'
</#if>
@change="($event)=> { this.onPanelItemValueChange({ name: '${editor.name}', value: $event }) }"/>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册