mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-05 05:41:46 +08:00
Fix avatar upload.
This commit is contained in:
@ -53,7 +53,7 @@ export const CropperDiv = (props) => {
|
||||
Setting.showMessage("error", "You must select a picture first!");
|
||||
return false;
|
||||
}
|
||||
Setting.showMessage("success", "uploading...");
|
||||
// Setting.showMessage("success", "uploading...");
|
||||
targetFunction(canvas.toDataURL());
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user