|
@@ -188,8 +188,8 @@ Page({
|
|
|
dayTarget.forEach((item,index)=>{
|
|
|
let time ='';
|
|
|
item.time&&(time = item.time.slice(0,2)+':'+item.time.slice(2,4));
|
|
|
- let minarea = Number(item[`${this.data.envType}Min`].toFixed(1));
|
|
|
- let maxarea = Number(item[`${this.data.envType}Max`].toFixed(1));
|
|
|
+ let minarea = item[`${this.data.envType}Min`] ? Number(item[`${this.data.envType}Min`].toFixed(1)) : 0;
|
|
|
+ let maxarea = item[`${this.data.envType}Max`] ? Number(item[`${this.data.envType}Max`].toFixed(1)) : 0;
|
|
|
let initObj={
|
|
|
time:time,
|
|
|
release:index,
|