fix(web): file upalod add class
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
@@ -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>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user