From 6cbfe4d4a8a6ef6ef9b1d5dc2d8a345447d45c3a Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 17 Dec 2018 11:23:05 +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 7c39df125..f688c50f8 100755 --- a/plugins/openresty/js/openresty.js +++ b/plugins/openresty/js/openresty.js @@ -64,7 +64,7 @@ function orPluginOpService(a, b, v) { layer.confirm( msgTpl('您真的要{1}{2}{3}服务吗?', [d,a,v]), {icon:3,closeBtn: 2}, function() { orPost('get_os',{},function(data){ var rdata = $.parseJSON(data.data); - if (rdata['os'] == 'darwin' && !rdata['auth']){ + if (!rdata['auth']){ layer.prompt({title: '检查到权限不足,需要输入密码!', formType: 1},function(pwd, index){ layer.close(index);