From 60b25cd35b33c85cf00b0dd2bd0af968d94dd2e6 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 19 Nov 2022 17:16:59 +0800 Subject: [PATCH] Update index.js --- route/static/app/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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'); }); },