mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-05-21 00:14:00 +00:00
删掉无关紧要的debug log
This commit is contained in:
parent
39a5f3fb1e
commit
5cc983d4ae
@ -44,7 +44,8 @@ export class Content {
|
|||||||
port.onDisconnect.addListener((port: chrome.runtime.Port) => {
|
port.onDisconnect.addListener((port: chrome.runtime.Port) => {
|
||||||
const ret = ["localhost", "127.0.0.1"].find((el) => port.sender.url.includes(el));
|
const ret = ["localhost", "127.0.0.1"].find((el) => port.sender.url.includes(el));
|
||||||
if (ret) {
|
if (ret) {
|
||||||
debugger;
|
console.log("local port disconnect");
|
||||||
|
// debugger;
|
||||||
}
|
}
|
||||||
debugLog && console.log(...this.terminal.disconnect(""));
|
debugLog && console.log(...this.terminal.disconnect(""));
|
||||||
this.onDisconnect(port);
|
this.onDisconnect(port);
|
||||||
|
@ -32,7 +32,7 @@ export default defineComponent({
|
|||||||
setup() {
|
setup() {
|
||||||
function updateNodeInfo() {
|
function updateNodeInfo() {
|
||||||
if (selectedUUID) {
|
if (selectedUUID) {
|
||||||
console.log(`update node info: ${selectedUUID}`);
|
// console.log(`update node info: ${selectedUUID}`);
|
||||||
bridge.send(Msg.RequestNodeInfo, { uuid: selectedUUID } as RequestNodeInfoData);
|
bridge.send(Msg.RequestNodeInfo, { uuid: selectedUUID } as RequestNodeInfoData);
|
||||||
} else {
|
} else {
|
||||||
treeItemData.value = null;
|
treeItemData.value = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user