Commit efd208e5 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复渠道会员 渠道信息不展示的问题

parent 61483d58
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-24 17:47:32
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-15 11:16:16
* @LastEditTime: 2021-07-06 17:43:13
* @Description: 审核Form抽屉
*/
import React, { useEffect } from 'react';
......@@ -185,15 +185,13 @@ const VerifyComingDataDrawer: React.FC<IProps> = (props: IProps) => {
if (!channelValue) {
return;
}
let {
const {
channelLevel,
} = channelValue;
if (!channelLevel) {
formActions.setFieldState('INVESTIGATE_INFO', state => {
FormPath.setIn(state, 'visible', false);
});
}
formActions.setFieldState('INVESTIGATE_INFO', state => {
FormPath.setIn(state, 'visible', !!channelLevel);
});
}, [channelValue]);
const handleClose = () => {
......
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