{ // 计算页面加载时间,并转换为秒 const loadTime = ((performance.now() - Joe.startTime) / 1000).toFixed(2); console.log(`主题WEB资源加载耗时:${loadTime} S`); });