修复健康数据问题

This commit is contained in:
huangdeliang 2021-04-01 17:25:58 +08:00
parent ff016069a1
commit 4cf6867be0

View File

@ -552,7 +552,7 @@ export function dealHealthy(customerHealthy) {
const signs = customerHealthy.otherPhysicalSigns
? [customerHealthy.otherPhysicalSigns]
: [];
customerHealthy.signList.forEach(obj => {
(customerHealthy.signList || []).forEach(obj => {
signs.push(obj.name);
});
customerHealthy.physicalSigns = signs.join(",");