szh-new
张同海 4 months ago
parent 03735d3965
commit cf0a600838

@ -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 })

Loading…
Cancel
Save