[update] 修改bug80303

This commit is contained in:
lideqin
2024-02-07 09:14:17 +08:00
parent 6f77f6504a
commit 022574030a
@@ -301,9 +301,15 @@ export default {
}, },
// 删除 // 删除
handleDelete (id, index) { handleDelete (id, index) {
this.$confirm({
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
onOk: () => {
const dataIndex = this.dataSource.findIndex(item => item.id === id) const dataIndex = this.dataSource.findIndex(item => item.id === id)
this.dataSource.splice(dataIndex, 1) this.dataSource.splice(dataIndex, 1)
} }
})
}
} }
} }
</script> </script>