@@ -57,7 +57,7 @@ function EditInput({ item, isLook }: Props) {
) : item.type === 'Input' ? (
<Input
readOnly={isLook}
- placeholder='请输入'
+ placeholder={isLook ? '(空)' : '请输入'}
value={info[item.key as 'date']}
onChange={e => dataChangeFu(e.target.value, item)}
maxLength={item.maxLength || 30}
@@ -223,9 +223,13 @@ function EditTop({ rowArr, pageTxt, APIobj, fileUpInfo, moreDom }: Props) {
>
查看
</Button>
- <MyPopconfirm txtK='删除' onConfirm={() => setSnapsFu([])} />
+ {isLook ? null : (
+ <MyPopconfirm txtK='删除' onConfirm={() => setSnapsFu([])} />
+ )}
</div>
+ ) : isLook ? (
+ '(空)'
) : (
<div className='Edtop1rr'>
<Button