Commit bc5d57c3 authored by 熊成伟's avatar 熊成伟

debug

parent 2bd3197f
Pipeline #15548 passed with stages
in 1 minute and 1 second
......@@ -229,6 +229,7 @@ const Process = (props) => {
return () => window.removeEventListener('scroll', handleScroll, true);
}, []);
const resultLoading = basicLoading && adjunctLoading && flowLoading;
return (
<Document title="待办详情">
<div>
......@@ -237,21 +238,21 @@ const Process = (props) => {
<WingBlank>
<div id="event-basic"/>
<WhiteSpace/>
{basicLoading ? <Basic data={basic}/> : <Skeleton/>}
{resultLoading ? <Basic data={basic}/> : <Skeleton/>}
<div id="event-adjunct"/>
<WhiteSpace/>
{adjunctLoading ? <Adjunct data={adjunctData}/> : <Skeleton/>}
{resultLoading ? <Adjunct data={adjunctData}/> : <Skeleton/>}
<div id="event-flow"/>
<WhiteSpace/>
{flowLoading ? <Flow data={flowData}/> : <Skeleton/>}
{resultLoading ? <Flow data={flowData}/> : <Skeleton/>}
<div id="event-option"/>
<WhiteSpace/>
{basicLoading ? <Option onChange={optionChange}/> : <Skeleton/>}
{resultLoading ? <Option onChange={optionChange}/> : <Skeleton/>}
</WingBlank>
</div>
<div className="event-footer">
{(basicLoading && adjunctLoading && flowLoading && basicLoading) && (
{ resultLoading && (
<div className={`event-footer-button ${(footStatus && disabled) ? 'button-disabled' : '' }`} onClick={footStatus && !disabled ? showActionSheet: textClick}>
{!footStatus && (
<img alt="" src="/img/process-edit.png" className="process-edit"/>
......
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