fix: lint
This commit is contained in:
@@ -15,13 +15,12 @@
|
|||||||
<title><%= VITE_APP_TITLE %></title>
|
<title><%= VITE_APP_TITLE %></title>
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<script>
|
<script>
|
||||||
var HM_ID = '<%= VITE_APP_BAIDU_CODE %>'
|
var HM_ID = '<%= VITE_APP_BAIDU_CODE %>';
|
||||||
if (HM_ID) {
|
if (HM_ID) {
|
||||||
var _hmt = _hmt || [];
|
var _hmt = _hmt || [];
|
||||||
(function () {
|
(function () {
|
||||||
var hm = document.createElement('script');
|
var hm = document.createElement('script');
|
||||||
hm.src =
|
hm.src = 'https://hm.baidu.com/hm.js?' + HM_ID;
|
||||||
'https://hm.baidu.com/hm.js?' + HM_ID;
|
|
||||||
var s = document.getElementsByTagName('script')[0];
|
var s = document.getElementsByTagName('script')[0];
|
||||||
s.parentNode.insertBefore(hm, s);
|
s.parentNode.insertBefore(hm, s);
|
||||||
})();
|
})();
|
||||||
|
|||||||
Reference in New Issue
Block a user