import { ref, defineComponent, getCurrentInstance, nextTick } from 'vue'; Add onDelete(record.key)"> Delete