perf: 提示文字

dev/chat
Lei OT 2 years ago
parent c643cec93b
commit 445b557e03

@ -80,7 +80,7 @@ const ImageUpload = ({ disabled, invokeUploadFileMessage, invokeSendUploadMessag
}
}}
>
<Tooltip title={'webp(100K), 图片(5M), 视频(16M), 语音(16M), 附件(100M)'} placement={'bottom'}>
<Tooltip title={<><div>webp(100K)</div><div>图片(5M)</div><div>视频(16M)</div><div>语音(16M)</div><div>附件(100M)</div></>} >
<Button key={'addPic'} type='text' disabled={disabled} icon={<FileAddOutlined />} size={'middle'} className='text-primary rounded-none' />
</Tooltip>
</Upload>

@ -255,7 +255,7 @@ const InputComposer = ({ mobile }) => {
showCount={textabled}
placeholder={
gt24h
? 'This session has expired. Please send a template message to activate the session'
? '会话已过期. 请发送打招呼消息激活对话💬.'
: mobile === undefined
? 'Enter 发送, Shift+Enter 换行\n支持复制粘贴 [截图/文件] 以备发送'
: 'Enter 换行, 点击 Send 发送'

Loading…
Cancel
Save