mirror of
https://github.com/potato47/ccc-devtools.git
synced 2024-12-25 11:19:10 +00:00
fix:修复cc报错
This commit is contained in:
parent
c36ccaf21e
commit
617a14c0f2
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user