File tree Expand file tree Collapse file tree
src/showcase/nz-demo-input Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ <h2>代码演示<i class="code-box-expand-trigger anticon anticon-appstore" titl
6262 < nz-code-box [nzTitle] ="'文本域' " id ="components-input-demo-textarea " [nzCode] ="NzDemoInputTextareaCode ">
6363 < nz-demo-input-textarea demo > </ nz-demo-input-textarea >
6464 < div intro >
65- < p > 用于多行输入,指定 < code > nzType</ code > 为一个特殊的 < code > textarea</ code > 。</ p >
65+ < p > 用于多行输入,指定 < code > nzType</ code > 为一个特殊的 < code > textarea</ code > 。可以用 < code > nzRows </ code > 或是 < code > nzAutosize </ code > 来控制框的高度。 </ p >
6666 </ div >
6767 </ nz-code-box >
6868 </ div >
@@ -164,20 +164,26 @@ <h4 id="Input.TextArea"><span>nz-input[type=textarea]</span>
164164 < p > 当 < code > nzType="textarea"</ code > 时,特有的API</ p >
165165 < table >
166166 < thead >
167- < tr >
168- < th > 参数</ th >
169- < th > 说明</ th >
170- < th > 类型</ th >
171- < th > 默认值</ th >
172- </ tr >
167+ < tr >
168+ < th > 参数</ th >
169+ < th > 说明</ th >
170+ < th > 类型</ th >
171+ < th > 默认值</ th >
172+ </ tr >
173173 </ thead >
174174 < tbody >
175- < tr >
176- < td > nzAutosize</ td >
177- < td > 自适应内容高度,可设置为 true|false 或对象:< code > {{'{ minRows: 2, maxRows: 6 }'}}</ code > </ td >
178- < td > Boolean|Object</ td >
179- < td > < code > false</ code > </ td >
180- </ tr >
175+ < tr >
176+ < td > nzAutosize</ td >
177+ < td > 自适应内容高度,可设置为 true|false 或对象:< code > {{'{ minRows: 2, maxRows: 6 }'}}</ code > </ td >
178+ < td > Boolean|Object</ td >
179+ < td > < code > false</ code > </ td >
180+ </ tr >
181+ < tr >
182+ < td > nzRows</ td >
183+ < td > 控制固定框的行数</ td >
184+ < td > String</ td >
185+ < td > 无</ td >
186+ </ tr >
181187 </ tbody >
182188 </ table >
183189 < h4 id ="Input.Group "> < span > nz-input-group</ span >
You can’t perform that action at this time.
0 commit comments