From 84804b405cb88f659d055b16eb3bd00b813ccb4a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 10 十二月 2020 10:58:38 +0800 Subject: [PATCH] 2020-12-10 --- src/templates/modalconfig/dragelement/card.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/templates/modalconfig/dragelement/card.jsx b/src/templates/modalconfig/dragelement/card.jsx index ec03a6d..9c3eb42 100644 --- a/src/templates/modalconfig/dragelement/card.jsx +++ b/src/templates/modalconfig/dragelement/card.jsx @@ -93,7 +93,7 @@ } else if (card.type === 'datetime') { formItem = (<DatePicker showTime value={card.initval ? moment().subtract(card.initval, 'days') : null} />) } else if (card.type === 'textarea') { - formItem = (<TextArea value={card.initval} autosize={{ minRows: 2, maxRows: 6 }} />) + formItem = (<TextArea value={card.initval} autoSize={{ minRows: 2, maxRows: 6 }} />) } else if (card.type === 'fileupload') { formItem = (<Button style={{marginTop: '3px'}}><Icon type="upload" /> 鐐瑰嚮涓婁紶 </Button>) } else if (card.type === 'funcvar') { -- Gitblit v1.8.0