提交 188f46b1 编写于 作者: Neuromancer255's avatar Neuromancer255

编辑器追加单位

上级 ae94ba91
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
placeholder="${editor.getPlaceHolder()}" placeholder="${editor.getPlaceHolder()}"
</#if> </#if>
type="number" type="number"
:value="data.${editor.name}" :value="data.${editor.name}"
</if editor.isEnableUnitName()>
:unit="${editor.getUnitName}"
</#if>
:disabled="detailsModel.${editor.name}.disabled" :disabled="detailsModel.${editor.name}.disabled"
@change="($event)=>this.data.${editor.name} = $event"/> @change="($event)=>this.data.${editor.name} = $event"/>
\ No newline at end of file
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
placeholder="${editor.getPlaceHolder()}" placeholder="${editor.getPlaceHolder()}"
</#if> </#if>
type="text" type="text"
:value="data.${editor.name}" :value="data.${editor.name}"
</if editor.isEnableUnitName()>
:unit="${editor.getUnitName}"
</#if>
:disabled="detailsModel.${editor.name}.disabled" :disabled="detailsModel.${editor.name}.disabled"
@change="($event)=>this.data.${editor.name} = $event" /> @change="($event)=>this.data.${editor.name} = $event" />
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册