优化插件卸载

pull/462/MERGE
Karson 2024-02-28 12:00:04 +08:00
parent 5d3d667143
commit 5bf63c557b
1 changed files with 1 additions and 0 deletions

View File

@ -623,6 +623,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template', 'cookie']
return false;
}
Template.helper("__", __);
tables = [];
Layer.confirm(Template("uninstalltpl", {addon: Config['addons'][name]}), {focusBtn: false, title: __("Warning")}, function (index, layero) {
uninstall(name, false, $("input[name='droptables']", layero).prop("checked"));
});