项目启动,启动报错修改
This commit is contained in:
@@ -205,27 +205,27 @@ export default {
|
||||
multiCtrlModifyYear() {
|
||||
if (!this.EnergyReportInfo.multiCtrlModifyYear) return false
|
||||
if (!this.EnergyReportInfo.multiCtrlModifyYear) return false
|
||||
return JSON.parse(this.EnergyReportInfo?.multiCtrlModifyYear).length > 0
|
||||
return JSON.parse(this.EnergyReportInfo&&this.EnergyReportInfo.multiCtrlModifyYear).length > 0
|
||||
},
|
||||
heatDeviceModifyYear() {
|
||||
if (!this.EnergyReportInfo.heatDeviceModifyYear) return false
|
||||
if (!this.EnergyReportInfo.heatDeviceModifyYear) return false
|
||||
return JSON.parse(this.EnergyReportInfo?.heatDeviceModifyYear).length > 0
|
||||
return JSON.parse(this.EnergyReportInfo&&this.EnergyReportInfo.heatDeviceModifyYear).length > 0
|
||||
},
|
||||
ratioLedModifyYear() {
|
||||
if (!this.EnergyReportInfo.ratioLedModifyYear) return false
|
||||
return JSON.parse(this.EnergyReportInfo?.ratioLedModifyYear).length > 0
|
||||
return JSON.parse(this.EnergyReportInfo&&this.EnergyReportInfo.ratioLedModifyYear).length > 0
|
||||
},
|
||||
distributeMakeModifyYear() {
|
||||
if (!this.EnergyReportInfo.distributeMakeModifyYear) return false
|
||||
return (
|
||||
JSON.parse(this.EnergyReportInfo?.distributeMakeModifyYear).length > 0
|
||||
JSON.parse(this.EnergyReportInfo&&this.EnergyReportInfo.distributeMakeModifyYear).length > 0
|
||||
)
|
||||
},
|
||||
hotWaterCtrlModifyYear() {
|
||||
if (!this.EnergyReportInfo.hotWaterCtrlModifyYear) return false
|
||||
return (
|
||||
JSON.parse(this.EnergyReportInfo?.hotWaterCtrlModifyYear).length > 0
|
||||
JSON.parse(this.EnergyReportInfo&&this.EnergyReportInfo.hotWaterCtrlModifyYear).length > 0
|
||||
)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user