diff --git a/plugins/openresty/js/openresty.js b/plugins/openresty/js/openresty.js index 0a3c43bb4..797b6b084 100755 --- a/plugins/openresty/js/openresty.js +++ b/plugins/openresty/js/openresty.js @@ -117,7 +117,7 @@ function getOpStatus() { layer.close(loadT); try { var rdata = $.parseJSON(data.data); - if (!rdata.status){ + if ('status' in rdata && !rdata.status){ showMsg(rdata.msg, function(){}, null,3000); return; }