mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
公共js
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
+1
-1
@@ -391,6 +391,6 @@ function indexSoft() {
|
||||
|
||||
$(function() {
|
||||
if (window.document.location.pathname == '/soft/') {
|
||||
setInterval(function() { getSList(); }, 30000);
|
||||
setInterval(function() { getSList(); }, 10000);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user