|
@@ -57,7 +57,7 @@ function EditInput({ item, isLook }: Props) {
|
|
|
) : item.type === 'Input' ? (
|
|
) : item.type === 'Input' ? (
|
|
|
<Input
|
|
<Input
|
|
|
readOnly={isLook}
|
|
readOnly={isLook}
|
|
|
- placeholder='请输入'
|
|
|
|
|
|
|
+ placeholder={isLook ? '(空)' : '请输入'}
|
|
|
value={info[item.key as 'date']}
|
|
value={info[item.key as 'date']}
|
|
|
onChange={e => dataChangeFu(e.target.value, item)}
|
|
onChange={e => dataChangeFu(e.target.value, item)}
|
|
|
maxLength={item.maxLength || 30}
|
|
maxLength={item.maxLength || 30}
|