Skip to content

Commit

Permalink
feat: 添加百度统计
Browse files Browse the repository at this point in the history
  • Loading branch information
jianbing.chen committed Aug 4, 2024
1 parent 70e7be3 commit 8e1e87d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
14 changes: 12 additions & 2 deletions packages/admin/index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en" data-van-env="stg">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mars搭建平台</title>
<style>
html,body{
html,
body {
box-sizing: border-box;
margin: 0;
padding: 0;
Expand All @@ -23,6 +24,15 @@
}
}
</style>
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement('script');
hm.src = 'https://hm.baidu.com/hm.js?8627e7c56d5a5f844375259156adc527';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<div id="root"></div>
Expand Down
9 changes: 9 additions & 0 deletions packages/editor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@
}
}
</style>
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement('script');
hm.src = 'https://hm.baidu.com/hm.js?6ffb1de2c87174b16780e0a4511e3bf5';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<div id="root"></div>
Expand Down

0 comments on commit 8e1e87d

Please sign in to comment.