Update openresty.js

This commit is contained in:
Mr Chen 2018-12-17 11:23:05 +08:00
parent eed332c36c
commit 6cbfe4d4a8
1 changed files with 1 additions and 1 deletions

View File

@ -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);