兼容antd Menu

This commit is contained in:
whyour
2022-05-16 01:47:03 +08:00
parent 9dcc547ac7
commit f1a51638a5
5 changed files with 101 additions and 82 deletions
+1
View File
@@ -93,6 +93,7 @@ const SecuritySettings = ({ user, userChange }: any) => {
const onChange = (e) => {
if (e.file && e.file.response) {
setAvatar(`/api/static/${e.file.response.data}`);
userChange();
}
};