mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 16:10:59 +08:00
feat: 不允许轻易删除 acepanel-network
This commit is contained in:
@@ -128,7 +128,8 @@ const columns: any = [
|
||||
NButton,
|
||||
{
|
||||
size: 'small',
|
||||
type: 'error'
|
||||
type: 'error',
|
||||
disabled: row.name === 'acepanel-network' // 不允许删除 acepanel-network
|
||||
},
|
||||
{
|
||||
default: () => $gettext('Delete')
|
||||
|
||||
Reference in New Issue
Block a user