2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 22:07:16 +08:00

feat(task): auto reload page

This commit is contained in:
耗子
2023-08-15 02:02:50 +08:00
parent f991586f94
commit bdb5442659

View File

@@ -69,6 +69,11 @@ Date: 2023-07-22
$('#plugin-install-log').html('实时安装日志获取失败,请刷新重试!');
return false;
}
if (result.data.includes('完成') || result.data.includes('错误')) {
setTimeout(function () {
location.reload();
}, 2000);
}
$('#plugin-install-log').html(result.data);
}
})