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

feat: 添加web服务器卸载提示

This commit is contained in:
2026-01-04 18:20:34 +08:00
parent 3d107fe548
commit 7b2d6a980b

View File

@@ -118,6 +118,12 @@ const columns: any = [
},
{
default: () => {
// Web 服务器卸载时的提示信息
if (row.categories.includes('webserver')) {
return $gettext(
'Reinstalling/Switching to a different web server will reset the configuration of all websites, are you sure to continue?'
)
}
return $gettext('Are you sure to uninstall app %{ app }?', { app: row.name })
},
trigger: () => {