Skip to content

Commit

Permalink
fix: 修复viewport重复导致控制台告警问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Qiu-Jun committed Nov 15, 2023
1 parent 852087e commit 009e690
Showing 1 changed file with 41 additions and 44 deletions.
85 changes: 41 additions & 44 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,51 +1,48 @@
<!--
* @Author: 秦少卫
* @Date: 2023-03-07 00:00:38
* @LastEditors: 秦少卫
* @LastEditTime: 2023-04-03 20:50:47
* @LastEditors: June
* @LastEditTime: 2023-11-15 12:00:57
* @Description: file content
-->
<!DOCTYPE html>
<html lang="en" style="overflow: hidden;">
<html lang="en" style="overflow: hidden">
<head>
<meta charset="UTF-8" />
<meta name="renderer" content="webkit" />
<meta name="force-rendering" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link rel="icon" href="<%- BASE_URL %>favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%- APP_TITLE %></title>
<link rel="stylesheet" href="<%- APP_REPO %>font/<%- APP_FONT_CSS_FILE%>" />
<style>
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-thumb {
border-radius: 8px;
background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-track {
border-radius: 0;
background: rgba(0, 0, 0, 0.1);
}
</style>
</head>

<head>
<meta charset="UTF-8" />
<meta name="renderer" content="webkit" />
<meta name="force-rendering" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=1000px,initial-scale=1.0" />
<link rel="icon" href="<%- BASE_URL %>favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%- APP_TITLE %></title>
<link rel="stylesheet" href="<%- APP_REPO %>font/<%- APP_FONT_CSS_FILE%>">
<style>
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-thumb {
border-radius: 8px;
background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-track {
border-radius: 0;
background: rgba(0, 0, 0, 0.1);
}
</style>
</head>

<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement('script');
hm.src = 'https://hm.baidu.com/hm.js?147609b3a2b7f053b2e7c7331a6c5058';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(hm, s);
})();
</script>

</html>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement('script');
hm.src = 'https://hm.baidu.com/hm.js?147609b3a2b7f053b2e7c7331a6c5058';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</html>

0 comments on commit 009e690

Please sign in to comment.