Commit 6fcf3e25 by 宋毅

tj

parent 3df92378
......@@ -141,7 +141,7 @@ class NameAPI extends WEBBase {
if (result.status != 0) {
return result;
}
const tmpData = result.data ? result.data.companyName : [];
const tmpData = result.data ? result.data.companyName ? result.data.companyName : result.data : [];
return system.getResultSuccess(tmpData);
}
}
......
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