update for channel floor validate
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -210,10 +210,10 @@ const _processFloorData = d => { | @@ -210,10 +210,10 @@ const _processFloorData = d => { | ||
210 | floorData = floorMap.slider(data.data); | 210 | floorData = floorMap.slider(data.data); |
211 | 211 | ||
212 | // 判断标题类型 | 212 | // 判断标题类型 |
213 | - } else if (_isObjectTitle(data.data.title)) { | 213 | + } else if (_isObjectTitle(data.data.title) && floorMap[floorTitle]) { |
214 | floorTitle = _getKey(data.data.title.title); | 214 | floorTitle = _getKey(data.data.title.title); |
215 | floorData = floorMap[floorTitle](data.data.list); | 215 | floorData = floorMap[floorTitle](data.data.list); |
216 | - } else { | 216 | + } else if (floorMap[floorTitle]){ |
217 | floorTitle = _getKey(data.data.title); | 217 | floorTitle = _getKey(data.data.title); |
218 | floorData = floorMap[floorTitle](data.data.list); | 218 | floorData = floorMap[floorTitle](data.data.list); |
219 | } | 219 | } |
-
Please register or login to post a comment