mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 08:59:48 +08:00
图片上传组件
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
import { message } from "antd";
|
||||
import React from "react";
|
||||
import { UploadImageButton } from "../../compenents";
|
||||
|
||||
export const TestPage: React.FC = () => {
|
||||
return (
|
||||
<div>
|
||||
<UploadImageButton></UploadImageButton>
|
||||
<UploadImageButton
|
||||
onSelected={(url) => {
|
||||
message.success("选择了:" + url);
|
||||
}}
|
||||
></UploadImageButton>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user