Browse Source

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

pull/73/head
zhengkunwang223 2 years ago committed by zhengkunwang223
parent
commit
f18d5f5538
  1. 6
      frontend/src/views/website/website/index.vue

6
frontend/src/views/website/website/index.vue

@ -166,13 +166,13 @@ const buttons = [
{ {
label: i18n.global.t('app.delete'), label: i18n.global.t('app.delete'),
click: function (row: WebSite.WebSite) { click: function (row: WebSite.WebSite) {
openDelete(row.id); openDelete(row);
}, },
}, },
]; ];
const openDelete = (id: number) => { const openDelete = (website: WebSite.WebSite) => {
deleteRef.value.acceptParams(id); deleteRef.value.acceptParams(website);
}; };
const openCreate = () => { const openCreate = () => {

Loading…
Cancel
Save