mirror of
https://github.com/potato47/ccc-devtools.git
synced 2024-12-25 03:09:13 +00:00
fix:修复cc报错
This commit is contained in:
parent
c36ccaf21e
commit
617a14c0f2
@ -22,6 +22,7 @@ let items = ref<any[]>([]);
|
||||
|
||||
function refresh() {
|
||||
// @ts-ignore
|
||||
const cc = window['cc'];
|
||||
if (!cc || !cc.profiler || !cc.profiler._stats) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user