延迟响应inspect

This commit is contained in:
xu_yanfeng
2025-02-11 20:41:30 +08:00
parent da552e9945
commit 110045b348
2 changed files with 6 additions and 4 deletions

View File

@@ -114,9 +114,9 @@ export class Inspector extends InjectEvent {
}
const funArray = getCallbacks(node, data.code, true);
if (funArray && funArray.length && data.index < funArray.length) {
const fn = funArray[data.index];
this.target = fn.fn;
if (!fn) {
const item = funArray[data.index];
this.target = item.fn;
if (!item) {
debugger;
}
}