Browse Source

修改改个人信息

zhejiushizhuce 1 year ago
parent
commit
b6c96fcfa2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/widgets/WEditProfile/index.jsx

+ 2 - 0
src/widgets/WEditProfile/index.jsx

@@ -305,6 +305,8 @@ const WEditProfile=({close})=>{
         change.callback=onCallback;
         change_ph.callback=onCallback;
         change_em.callback=onCallback;
+        if (showType!==TYPE_PHONE)isSubmit_ph=false;
+        if (showType!==TYPE_EMAIL)isSubmit_em=false;
         if (isSubmit)dispatch(reqChangeInfo(change));
         // data.callback=onCallback;
         // dispatch(reqChangeInfo(data));