Commit e92c4a7c authored by XieZhiXiong's avatar XieZhiXiong

feat: 变更会员信息时不展示协议

parent 952b7992
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-26 16:52:48
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-07 11:56:12
* @LastEditTime: 2021-06-07 12:01:36
* @Description: 申请会员
*/
import React, { useState, useEffect, useRef } from 'react';
......@@ -77,13 +77,13 @@ const onStepPrevious$ = createEffectHook('onStepPrevious');
const MemberQueryApplyMember: React.FC = () => {
const { upperMemberId, upperRoleId, validateId } = usePageStatus();
const [ticktack, setTicktack] = useState(countDownLen);
const [currenStep, setCurrenStep] = useState(0);
const [currenStep, setCurrenStep] = useState(!validateId ? 0 : 1);
const [submitLoading, setSubmitLoading] = useState(false);
const [unsaved, setUnsaved] = useState(false);
const [depositInfo, setDepositInfo] = useState<GroupItem[]>([]);
const [loading, setLoading] = useState(false);
const stepRef = useRef(0);
const stepRef = useRef(!validateId ? 0 : 1);
// eslint-disable-next-line no-undef
let timer: NodeJS.Timeout | null = null;
......
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-26 17:00:39
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-07 11:54:56
* @LastEditTime: 2021-06-07 11:58:03
* @Description:
*/
import { ISchema } from '@formily/antd';
......@@ -68,7 +68,7 @@ const schema = (groups: GroupItem[], validateId?: number): ISchema => {
padding: '12px 16px',
backgroundColor: '#FAFBFC',
},
current: '{{currenStep}}',
// current: '{{currenStep}}',
dataSource: [
!validateId
? {
......
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