if (window.Tracker) { window.__tracker = new window.Tracker({ pid: 'pc-web', plugins: [ [window.interfaceTrackerPlugin], [window.performanceTrackerPlugin] ], releaseResolver: function releaseResolver() { // 获取 静态资源版本 return "1573733000414"; } }); // 启动 tracker 并监听全局 JS 异常 window.__tracker.onGlobalError(); window.__tracker.install(); }