mirror of
https://github.com/potato47/ccc-devtools.git
synced 2026-02-16 21:32:28 +00:00
fix:修复cc报错
This commit is contained in:
@@ -22,6 +22,7 @@ let items = ref<any[]>([]);
|
|||||||
|
|
||||||
function refresh() {
|
function refresh() {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
const cc = window['cc'];
|
||||||
if (!cc || !cc.profiler || !cc.profiler._stats) {
|
if (!cc || !cc.profiler || !cc.profiler._stats) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user