上传头像

This commit is contained in:
李志鹏
2026-04-27 11:35:09 +08:00
parent 9dca4e3155
commit 78922a5b91
4 changed files with 341 additions and 335 deletions

View File

@@ -49,8 +49,11 @@ const seller: Module<Seller, RootState> = {
},
set_designerInfo(state: Seller, value: DesignerInfo) {
state.designerInfo = {
...state.designerInfo,
...value,
socialLinks: JSON.parse(value.socialLinks)
}
if (value.socialLinks) {
state.designerInfo.socialLinks = JSON.parse(value.socialLinks)
}
},
},