Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄庭坚
jinfa-platform
Commits
b80ed97d
Commit
b80ed97d
authored
Jan 06, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 新增成功申请单 loading 一直展示,防止重复点击
parent
43fd9ce5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
index.tsx
...cation/exchangePrSubmit/components/ExchangeForm/index.tsx
+3
-1
index.tsx
...pplication/repairPrSubmit/components/RepairForm/index.tsx
+3
-1
index.tsx
...pplication/returnPrSubmit/components/ReturnForm/index.tsx
+3
-1
No files found.
src/pages/afterService/exchangeApplication/exchangePrSubmit/components/ExchangeForm/index.tsx
View file @
b80ed97d
...
...
@@ -384,9 +384,11 @@ const ExchangeForm: React.FC<BillsFormProps> = ({
setTimeout
(()
=>
{
history
.
goBack
();
},
800
);
}
else
{
setSubmitLoading
(
false
);
}
})
.
finally
(()
=>
{
.
catch
(()
=>
{
setSubmitLoading
(
false
);
});
};
...
...
src/pages/afterService/repairApplication/repairPrSubmit/components/RepairForm/index.tsx
View file @
b80ed97d
...
...
@@ -233,9 +233,11 @@ const RepairForm: React.FC<BillsFormProps> = ({
setTimeout
(()
=>
{
history
.
goBack
();
},
800
);
}
else
{
setSubmitLoading
(
false
);
}
})
.
finally
(()
=>
{
.
catch
(()
=>
{
setSubmitLoading
(
false
);
});
};
...
...
src/pages/afterService/returnApplication/returnPrSubmit/components/ReturnForm/index.tsx
View file @
b80ed97d
...
...
@@ -398,9 +398,11 @@ const ReturnForm: React.FC<BillsFormProps> = ({
setTimeout
(()
=>
{
history
.
goBack
();
},
800
);
}
else
{
setSubmitLoading
(
false
);
}
})
.
finally
(()
=>
{
.
catch
(()
=>
{
setSubmitLoading
(
false
);
});
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment