Commit c03f3b8890253df896502d5e7d15d54ae418c19b
1 parent
943507bc
1.
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/resources/static/real_control_v2/fragments/north/nav/sch_edit_info/list.html
| @@ -275,7 +275,7 @@ | @@ -275,7 +275,7 @@ | ||
| 275 | jsyArray=[]; | 275 | jsyArray=[]; |
| 276 | lpArray = []; | 276 | lpArray = []; |
| 277 | $.each(rs.list, function () { | 277 | $.each(rs.list, function () { |
| 278 | - this.jsonArray = JSON.parse(this.jsonArray); | 278 | + this.jsonArray = JSON.parse(this.jsonArray ? this.jsonArray : null); |
| 279 | etInfos[this.id] = this; | 279 | etInfos[this.id] = this; |
| 280 | this['ts_str'] = moment(this.ts).format('YYYY-MM-DD HH:mm'); | 280 | this['ts_str'] = moment(this.ts).format('YYYY-MM-DD HH:mm'); |
| 281 | 281 |