Commit 4a3754efd505e1ac8c6643779c81b88a14576e45
1 parent
7b7bd6ff
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 | 275 | jsyArray=[]; |
| 276 | 276 | lpArray = []; |
| 277 | 277 | $.each(rs.list, function () { |
| 278 | - this.jsonArray = JSON.parse(this.jsonArray); | |
| 278 | + this.jsonArray = JSON.parse(this.jsonArray ? this.jsonArray : null); | |
| 279 | 279 | etInfos[this.id] = this; |
| 280 | 280 | debugger |
| 281 | 281 | this['ts_str'] = moment(this.ts).format('YYYY-MM-DD HH:mm'); | ... | ... |