From 617a14c0f22e6b898ce0395357a7d769fc5575de Mon Sep 17 00:00:00 2001 From: nextfu Date: Fri, 5 Aug 2022 15:22:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Dcc=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ProfilerPanel.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ProfilerPanel.vue b/src/components/ProfilerPanel.vue index 247a60c..b1f3eda 100644 --- a/src/components/ProfilerPanel.vue +++ b/src/components/ProfilerPanel.vue @@ -22,6 +22,7 @@ let items = ref([]); function refresh() { // @ts-ignore + const cc = window['cc']; if (!cc || !cc.profiler || !cc.profiler._stats) { return; }