feat: rename to beforeSelectedDestroy

This commit is contained in:
kelin.zrh 2024-02-23 07:21:24 +08:00
parent 54df65951b
commit cec62257fe

View file

@ -549,7 +549,7 @@ export default class BlockManager extends Module {
/**
* prevent deletion if return -1
*/
const ret: any = this.blocks[index].call('beforeDestroy');
const ret: any = this.blocks[index].call('beforeSelectedDestroy');
if (ret === -1) {
continue;
}