提交 8c4a4f16 编写于 作者: Shine-zwj's avatar Shine-zwj

列表导航搜索框提示可搜索字段名称

上级 41008d3f
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
<div class='search-container'> <div class='search-container'>
<i-input :search="true" <i-input :search="true"
@on-change="($event) => { this.searchText = $event.target.value; }" @on-change="($event) => { this.searchText = $event.target.value; }"
:placeholder="placeholder"
@on-search="onSearch"> @on-search="onSearch">
</i-input> </i-input>
</div> </div>
...@@ -153,7 +154,16 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co ...@@ -153,7 +154,16 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/co
public ctrlHeight: number = <#if ctrl.getHeight()??>${ctrl.getHeight()?c}<#else>0</#if>; public ctrlHeight: number = <#if ctrl.getHeight()??>${ctrl.getHeight()?c}<#else>0</#if>;
/** /**
* 搜素值 * 搜索字段名称
*
*
* @type {(string)}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public placeholder="<@getQuickSearchPlaceholder view />";
/**
* 搜索值
* *
* @public * @public
* @type {(string)} * @type {(string)}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册