Commit 8c05a18d authored by XieZhiXiong's avatar XieZhiXiong

chore: 添加 catch

parent 7fe7abf4
...@@ -63,7 +63,7 @@ const MemberPrComingClassify: React.FC<{}> = props => { ...@@ -63,7 +63,7 @@ const MemberPrComingClassify: React.FC<{}> = props => {
if (res.code === 1000) { if (res.code === 1000) {
return res.data; return res.data;
} }
return []; return { data: [], totalCount: 0 };
}; };
// 初始化高级筛选选项 // 初始化高级筛选选项
......
...@@ -63,7 +63,7 @@ const MemberPrComingInvestigate: React.FC<{}> = props => { ...@@ -63,7 +63,7 @@ const MemberPrComingInvestigate: React.FC<{}> = props => {
if (res.code === 1000) { if (res.code === 1000) {
return res.data; return res.data;
} }
return []; return { data: [], totalCount: 0 };
}; };
// 初始化高级筛选选项 // 初始化高级筛选选项
......
...@@ -74,7 +74,7 @@ const MemberPrVerifyChange1: React.FC<{}> = props => { ...@@ -74,7 +74,7 @@ const MemberPrVerifyChange1: React.FC<{}> = props => {
if (res.code === 1000) { if (res.code === 1000) {
return res.data; return res.data;
} }
return []; return { data: [], totalCount: 0 };
}; };
const handleBatch = () => { const handleBatch = () => {
......
...@@ -74,7 +74,7 @@ const MemberPrVerifyChange2: React.FC<{}> = props => { ...@@ -74,7 +74,7 @@ const MemberPrVerifyChange2: React.FC<{}> = props => {
if (res.code === 1000) { if (res.code === 1000) {
return res.data; return res.data;
} }
return []; return { data: [], totalCount: 0 };
}; };
const handleBatch = () => { const handleBatch = () => {
......
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