mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-22 16:16:33 +08:00
chore: add aegis
This commit is contained in:
parent
f7ebb1a44b
commit
5dc1ca420d
12
index.html
12
index.html
|
@ -9,5 +9,17 @@
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<script type="module" src="/src/main.ts"></script>
|
<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>
|
</body>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
window.global = window;
|
||||||
|
</script>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user