Commit 2a30a7e3 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复渠道资料展示不对的问题

parent 4994c7ad
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-24 17:47:32
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-07-06 17:43:13
* @LastEditTime: 2021-07-08 11:03:50
* @Description: 审核Form抽屉
*/
import React, { useEffect } from 'react';
......@@ -187,10 +187,9 @@ const VerifyComingDataDrawer: React.FC<IProps> = (props: IProps) => {
}
const {
channelLevel,
channelTypeId,
} = channelValue;
if (channelTypeId && !channelLevel) {
if (channelLevel !== undefined && !channelLevel) {
formActions.setFieldState('INVESTIGATE_INFO', state => {
FormPath.setIn(state, 'visible', false);
});
......
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