diff --git a/static/app/public.js b/static/app/public.js index 0922e029a..3f3acf968 100755 --- a/static/app/public.js +++ b/static/app/public.js @@ -1627,7 +1627,11 @@ function pluginConfigSave(fileName) { function pluginInitD(_name){ $.post('/plugins/run', {name:_name, func:'initd_status'}, function(data) { - if(!data.status || (data.data!='ok' && data.data!='fail') ){ + if( !data.status ){ + layer.msg(data.msg,{icon:0,time:3000,shade: [0.3, '#000']}); + return; + } + if( data.data!='ok' && data.data!='fail' ){ layer.msg(data.data,{icon:0,time:3000,shade: [0.3, '#000']}); return; } diff --git a/static/app/soft.js b/static/app/soft.js index fc9c09098..aea60c6e5 100755 --- a/static/app/soft.js +++ b/static/app/soft.js @@ -391,6 +391,6 @@ function indexSoft() { $(function() { if (window.document.location.pathname == '/soft/') { - setInterval(function() { getSList(); }, 30000); + setInterval(function() { getSList(); }, 10000); } }); \ No newline at end of file