chore: add aegis

This commit is contained in:
pengYYY 2021-12-17 15:45:24 +08:00
parent f7ebb1a44b
commit 5dc1ca420d

View File

@ -9,5 +9,17 @@
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script language="javascript">
if (window.location.host === 'tdesign.tencent.com') {
const aegis = new Aegis({
id: 'rDISNMyXgqWDFPyHMB', // 项目ID即上报key
reportAssetSpeed: true, // 静态资源测速
});
}
</script>
</body>
<script>
window.global = window;
</script>
</html>