fix(web): file upalod add class

This commit is contained in:
zhaoying
2026-03-27 18:25:37 +08:00
parent c3e5c8b8bb
commit 8224848ce1
2 changed files with 7 additions and 3 deletions

View File

@@ -400,3 +400,7 @@ body {
.spin.ant-spin-nested-loading .ant-spin-container::after { .spin.ant-spin-nested-loading .ant-spin-container::after {
background: transparent; background: transparent;
} }
.upload-block,
.upload-block.ant-upload-wrapper .ant-upload-select {
display: block;
}

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing * @Author: ZhaoYing
* @Date: 2026-02-06 21:09:42 * @Date: 2026-02-06 21:09:42
* @Last Modified by: ZhaoYing * @Last Modified by: ZhaoYing
* @Last Modified time: 2026-03-27 17:55:04 * @Last Modified time: 2026-03-27 18:23:04
*/ */
/** /**
* File Upload Component * File Upload Component
@@ -313,7 +313,7 @@ const UploadFiles = forwardRef<UploadFilesRef, UploadFilesProps>(({
</div> </div>
); );
}, },
className: 'rb:-mb-1.5!', className: 'rb:-mb-1.5! upload-block',
...props, ...props,
}; };
@@ -327,7 +327,7 @@ const UploadFiles = forwardRef<UploadFilesRef, UploadFilesProps>(({
<Upload <Upload
{...uploadProps} {...uploadProps}
> >
{t('memoryConversation.uploadFile')} <div>{t('memoryConversation.uploadFile')}</div>
</Upload> </Upload>
); );
}); });