feat: 网站删除增加强制删除选项

pull/73/head
zhengkunwang223 2 years ago committed by zhengkunwang223
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…
Cancel
Save