|
|
@ -130,8 +130,8 @@
|
|
|
|
async function handleDelete(record: Recordable) {
|
|
|
|
async function handleDelete(record: Recordable) {
|
|
|
|
console.log(record)
|
|
|
|
console.log(record)
|
|
|
|
const res: API.DataResult = await DelMappingPackage({
|
|
|
|
const res: API.DataResult = await DelMappingPackage({
|
|
|
|
id: '',
|
|
|
|
id: `${record.id}`,
|
|
|
|
ids: [record.id],
|
|
|
|
ids: [],
|
|
|
|
})
|
|
|
|
})
|
|
|
|
if (res.succeeded) {
|
|
|
|
if (res.succeeded) {
|
|
|
|
notification.success({ message: res.message, duration: 3 })
|
|
|
|
notification.success({ message: res.message, duration: 3 })
|
|
|
|