diff --git a/public/static/admin/default/js/index.js b/public/static/admin/default/js/index.js index 881658a8c9b31a51978847618ce0d494233b2d1a..9ab0e4d7ec590714e7f948f13dc5c20c1f0c60b0 100755 --- a/public/static/admin/default/js/index.js +++ b/public/static/admin/default/js/index.js @@ -281,40 +281,49 @@ $(function() { // html内容处理 // 基础信息 - var html = '
'; - html += ''; - html += ''+result.data.title+''; - html += '
'; - html += ''+result.data.tips+'
'; + // 是否存在数据、网络不通将返回空数据 + if((result.data || null) != null) + { + var html = ''; + html += ''; + html += ''+result.data.title+''; + html += '
'; + html += ''+result.data.tips+'
'; + html += ''; + html += ''; + html += ''+result.msg+''; + html += '
'; + } $inspect_upgrade_popup.find('.upgrade-content').html(html); // 是否支持在线自动更新