Commit 25f72d2d authored by 武广's avatar 武广

fix: 修改报错问题

parent ccfa4bf6
......@@ -7,7 +7,7 @@ export const getEnterpriseList = async (param = {}) => {
size: 10000,
data: param,
});
if (res && res.data && res.data.records) {
if (res?.data?.records?.length) {
const data = res.data.records;
const arr = data.map(item => ({
label: item.name,
......
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