Commit e6bb5ed2 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏
parents f870f5f3 15792e00
......@@ -38,7 +38,7 @@ const Phone = (props) => {
useEffect(() => {
godEvent.on('SHOW_PHONE_VALIDATE', (payload) => {
if (isActive) {
if (!isActive) {
// 验证码在loading的时候 不能再次触发
return ;
}
......@@ -103,6 +103,7 @@ const Phone = (props) => {
const handleCheckSuccess = (reset) => {
setTimeout(() => {
setIsShowValidate(false)
handleStartSms()
instanceRef.current.canIUseSms = true
}, 1000)
}
......@@ -124,6 +125,7 @@ const Phone = (props) => {
visible={isShowValidate}
mask
centered
destroyOnClose
footer={null}
onCancel={() => setIsShowValidate(false)}
>
......
......@@ -243,7 +243,7 @@ const MemberDetail: React.FC<{}> = () => {
const publicParams = {
...values,
hasImAuth: values.hasImAuth ? 1 : 0,
imFlag: !!values.imFlag,
auth: treeCheckIds.map(v => ({
menuId: v,
// @todo 暂时写死为空
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment