mirror of https://github.com/1Panel-dev/1Panel
feat: 网站删除增加强制删除选项
parent
5b7872d896
commit
f18d5f5538
|
@ -166,13 +166,13 @@ const buttons = [
|
|||
{
|
||||
label: i18n.global.t('app.delete'),
|
||||
click: function (row: WebSite.WebSite) {
|
||||
openDelete(row.id);
|
||||
openDelete(row);
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
const openDelete = (id: number) => {
|
||||
deleteRef.value.acceptParams(id);
|
||||
const openDelete = (website: WebSite.WebSite) => {
|
||||
deleteRef.value.acceptParams(website);
|
||||
};
|
||||
|
||||
const openCreate = () => {
|
||||
|
|
Loading…
Reference in New Issue