Commit 1cffc854 authored by 武广's avatar 武广

fix: 修改loading问题

parent cdebb511
...@@ -109,6 +109,7 @@ const Takeaway = options => { ...@@ -109,6 +109,7 @@ const Takeaway = options => {
}; };
setActionLoading(true); setActionLoading(true);
const res = await apiGoodsActionBatch(Object.assign({}, json, params)); const res = await apiGoodsActionBatch(Object.assign({}, json, params));
setActionLoading(false);
if (res.businessCode === '0000' && res.code === '0000') { if (res.businessCode === '0000' && res.code === '0000') {
message.success('处理成功!'); message.success('处理成功!');
unstable_batchedUpdates(() => { unstable_batchedUpdates(() => {
......
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