This commit is contained in:
joylink_zhaoerwei 2023-09-19 15:46:06 +08:00
parent 4b891b97f4
commit 7a7d8e18f0

View File

@ -432,7 +432,7 @@ function onCreate() {
function editData(row: AlarmInfoListItem) {
creatForm.id = row.id + '';
creatForm.alertType = (showAlertTypeData as never)[row.alertType + ''];
creatForm.tipTimeIds = row.timeConfigList.map(
creatForm.tipTimeIds = row.timeConfigList?.map(
(timeConfig) => (ShowTipTimeConfig as never)[timeConfig.timeType + '']
);
creatForm.areaConfigId = row.areaConfigName as string;