1.睡眠图标缺失字段
This commit is contained in:
2023-12-28 17:13:53 +08:00
parent f93e2dccae
commit 861d9e4798
@@ -153,9 +153,18 @@
let tar = params[0];
let str = '';
if (type.value === 1) {
str = tar1.value > 0 ? '睡' : '睡';
str = xArr[tar.dataIndex] + '<br/>' + (tar1.value > 0 ? '睡' : '睡');
} else {
str = '深睡' + ' : ' + (tar.value ? tar.value : 0) + '<br/>' + '浅睡' + ' : ' + (tar1.value ? tar1.value : 0);
str =
xArr[tar.dataIndex] +
'<br/>' +
'深睡' +
' : ' +
(tar.value ? tar.value : 0) +
'<br/>' +
'浅睡' +
' : ' +
(tar1.value ? tar1.value : 0);
}
return str;
},