mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 05:39:38 +08:00
上传图片按钮文案替换
This commit is contained in:
@@ -36,6 +36,7 @@ interface ImageItem {
|
||||
}
|
||||
|
||||
interface PropsInterface {
|
||||
text: any;
|
||||
onSelected: (url: string) => void;
|
||||
}
|
||||
|
||||
@@ -83,7 +84,7 @@ export const UploadImageButton = (props: PropsInterface) => {
|
||||
setShowModal(true);
|
||||
}}
|
||||
>
|
||||
上传图片
|
||||
{props.text ? props.text : "上传图片"}
|
||||
</Button>
|
||||
|
||||
{showModal && (
|
||||
|
||||
Reference in New Issue
Block a user