diff --git a/route/static/app/index.js b/route/static/app/index.js index 585e8f88d..32a3a3d4d 100755 --- a/route/static/app/index.js +++ b/route/static/app/index.js @@ -840,8 +840,11 @@ function pluginInit(){ } $.post('/plugins/init_install', 'list='+JSON.stringify(post_data), function(data){ - layer.close(index); - layer.msg(data.msg, { icon: data.status ? 1 : 2 }); + showMsg(data.msg, function(){ + if (data.status){ + messageBox(); + } + },{ icon: data.status ? 1 : 2 },2000); },'json'); }); },