Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-composition-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
宁路鹏
vue-composition-api
Commits
427613a2
Commit
427613a2
authored
Jul 05, 2024
by
Licx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加webconfig引用
parent
7cddcfdc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
42 deletions
+47
-42
public/index.html
+47
-42
No files found.
public/index.html
View file @
427613a2
...
@@ -7,50 +7,55 @@
...
@@ -7,50 +7,55 @@
-->
-->
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<!-- <meta base="/his/"> -->
<!-- <meta base="/his/"> -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
/>
<link
rel=
"icon"
href=
"/favicon.ico"
/>
<link
rel=
"icon"
href=
"/favicon.ico"
/>
<script>
<script>
function
checkChromeVersion
()
{
function
checkChromeVersion
()
{
var
userAgent
=
navigator
.
userAgent
;
var
userAgent
=
navigator
.
userAgent
var
regex
=
/Chrome
\/([
0-9
]
+
)\.
/
;
var
regex
=
/Chrome
\/([
0-9
]
+
)\.
/
var
match
=
userAgent
.
match
(
regex
);
var
match
=
userAgent
.
match
(
regex
)
if
(
match
&&
parseInt
(
match
[
1
])
<
49
)
{
if
(
match
&&
parseInt
(
match
[
1
])
<
49
)
{
// 假设需要版本不低于60
// 假设需要版本不低于60
alert
(
"您当前的Chrome浏览器版本过低,请考虑升级。"
);
alert
(
'您当前的Chrome浏览器版本过低,请考虑升级。'
)
}
}
}
}
function
checkIEVersion
()
{
function
checkIEVersion
()
{
var
ua
=
window
.
navigator
.
userAgent
;
var
ua
=
window
.
navigator
.
userAgent
var
msie
=
ua
.
indexOf
(
"MSIE "
);
var
msie
=
ua
.
indexOf
(
'MSIE '
)
if
(
msie
>
0
||
!!
navigator
.
userAgent
.
match
(
/Trident.*rv
\:
11
\.
/
))
{
if
(
msie
>
0
||
!!
navigator
.
userAgent
.
match
(
/Trident.*rv
\:
11
\.
/
))
{
// 判断IE或Edge
// 判断IE或Edge
var
version
=
parseInt
(
ua
.
substring
(
msie
+
5
,
ua
.
indexOf
(
"."
,
msie
)));
var
version
=
parseInt
(
ua
.
substring
(
msie
+
5
,
ua
.
indexOf
(
'.'
,
msie
)))
if
(
version
<
8
)
{
if
(
version
<
8
)
{
// 如果IE版本低于10
// 如果IE版本低于10
alert
(
"您正在使用老旧的IE浏览器,可能无法正常访问本网站。建议升级到最新版本的浏览器。"
);
alert
(
}
'您正在使用老旧的IE浏览器,可能无法正常访问本网站。建议升级到最新版本的浏览器。'
}
)
}
}
checkIEVersion
();
}
checkChromeVersion
();
}
</script>
checkIEVersion
()
checkChromeVersion
()
</script>
<title>
基于病种精准管理系统
</title>
<title>
基于病种精准管理系统
</title>
</head>
<script
type=
"text/javascript"
src=
"./webconfig.js"
></script>
</head>
<body>
<body>
<noscript>
<noscript>
<strong
<strong
>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong
>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work
>
properly without JavaScript enabled. Please enable it to
</noscript>
continue.
</strong
<div
id=
"app"
></div>
>
<!-- built files will be auto injected -->
</noscript>
</body>
<div
id=
"app"
></div>
<!-- built files will be auto injected -->
</body>
</html>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment