mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 04:22:33 +08:00
feat: 添加web服务器卸载提示
This commit is contained in:
@@ -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: () => {
|
||||
|
||||
Reference in New Issue
Block a user