a0ea7efe
梁保满
init
|
1
2
3
4
5
6
7
|
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
818e50d7
梁保满
标签删除,修改
|
8
9
10
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
|
a0ea7efe
梁保满
init
|
11
12
13
14
15
16
|
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
</head>
<body>
|
a6eb85ed
梁保满
下载模版错误信息展示,图标根据环境切换
|
17
18
19
20
21
|
<script>
window.onload = function () {
var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'shortcut icon';
|
967e02c9
梁保满
发卡记录显示参数调整
|
22
23
|
var isZS = window.location.host.includes('ezquiz.sunvotecloud') || window.location.host.includes('121.40.127.171')
link.href = isZS ? "./favicon.ico" : "./331icon.ico";
|
a6eb85ed
梁保满
下载模版错误信息展示,图标根据环境切换
|
24
25
26
|
document.getElementsByTagName('head')[0].appendChild(link);
}
</script>
|
a0ea7efe
梁保满
init
|
27
28
29
30
31
32
33
34
35
|
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
|