mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 06:39:25 +08:00
Update openresty.js
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user