From ee119ea3ccb46e84ba6ac9bb34ef3e556be8fc73 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 9 Sep 2024 23:02:38 +0800 Subject: [PATCH] Update openresty.js --- plugins/openresty/js/openresty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }