Commit 6bf0b67b authored by cellee's avatar cellee

设施多端返回问题

Signed-off-by: cellee's avatarcellee <893264950@qq.com>
parent 60fdc631
......@@ -236,9 +236,9 @@ export default {
} else if (resp.error_code == '0002') {
// 多端操作提示清空并返回
message.error(resp.error_msg ? `${resp.error_msg}` : 'This record has been processed!');
let Data,
Data2,
Data3 = null;
let Data = null;
let Data2 = null;
let Data3 = null;
yield put({ type: 'returnPage', Data });
yield put({ type: 'returnPage2', Data2 });
yield put({ type: 'returnPage3', Data3 });
......
......@@ -433,11 +433,11 @@ const FacilityBookings = (props: any) => {
search={false}
/>
{search ? (
{Data2 ? (
<div className="pages">
<Pagination
current={Data2.total.currentPage}
total={Data2.total.totalRow}
current={Data2.total.currentPage ? Data2.total.currentPage : 0}
total={Data2.total.totalRow ? Data2.total.totalRow : 0}
// pageSizeOptions={[]}
showSizeChanger={false}
// pageSize={village.page.curPageSize}
......
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