Merge branch 'master-500-dev-xwx' into 'master-500-dev'
快照详情页资源状态优化 See merge request !766
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -33,7 +33,7 @@ layui.define(['commonDetail', 'common', 'sessions'], function (exports) { | @@ -33,7 +33,7 @@ layui.define(['commonDetail', 'common', 'sessions'], function (exports) { | ||
33 | async: false, | 33 | async: false, |
34 | success: function (res) { | 34 | success: function (res) { |
35 | if (res.success){ | 35 | if (res.success){ |
36 | - if (res.object.snapshotResState != null && res.object.snapshotResState.length > 0){ | 36 | + if (res.object.snapshotResState){ |
37 | commonDetail.snapshotRenderResHealth(res.object.snapshotResState); | 37 | commonDetail.snapshotRenderResHealth(res.object.snapshotResState); |
38 | } | 38 | } |
39 | commonDetail.anapshotRenderTextCols('hostminicomputerpartition_jbxx',res.object.snapshotBaseInformationList,2); | 39 | commonDetail.anapshotRenderTextCols('hostminicomputerpartition_jbxx',res.object.snapshotBaseInformationList,2); |
-
Please register or login to post a comment