2
0

Merge remote-tracking branch 'origin/main'

This commit is contained in:
zhongzm
2025-02-15 11:36:44 +08:00
2 changed files with 1 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ export const doEditDict = (data: DictSubmitModel) => {
export const doDeleteDict = (dictId: string | number) => {
return request({
url: `/system/dict/type/${dictId}`,
method: 'post'
method: 'delete'
});
};

View File

@@ -100,9 +100,6 @@ const { data, columns, loading, getData } = useTable({
<Button size="small" onClick={() => edit(record.menuId)}>
{t('page.menu.edit')}
</Button>
<Button size="small" danger onClick={() => handleDelete(record.menuId)}>
{t('page.menu.delete')}
</Button>
</div>
)
}