Ver Fonte

修改改个人信息

zhejiushizhuce há 1 ano atrás
pai
commit
b6c96fcfa2
1 ficheiros alterados com 2 adições e 0 exclusões
  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));