mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-10-23 00:35:23 +00:00
bug fix
This commit is contained in:
@@ -102,9 +102,9 @@ export class Inspector extends InjectEvent {
|
||||
case Msg.RequestLogCustom: {
|
||||
const logFunction = console.log;
|
||||
logFunction(pluginEvent.data);
|
||||
break;
|
||||
}
|
||||
case Msg.ReqWriteClipboard: {
|
||||
document.body.focus();
|
||||
navigator.clipboard
|
||||
.writeText(pluginEvent.data)
|
||||
|
||||
@@ -343,7 +343,7 @@ export class Inspector extends InjectEvent {
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
if (node instanceof type) {
|
||||
if (type && node instanceof type) {
|
||||
if (keys.find((v) => v === key)) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user