Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
testspark317
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
testspark317
Commits
e2f320a5
Commit
e2f320a5
authored
Mar 17, 2021
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfk
parent
6fe7ee36
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
HtmlJsToES5Plugin.js
project/config/HtmlJsToES5Plugin.js
+2
-2
index.html
project/public/index.html
+14
-2
No files found.
project/config/HtmlJsToES5Plugin.js
View file @
e2f320a5
...
...
@@ -31,5 +31,5 @@ class HtmlJsToES5Plugin {
}
}
exports
.
default
=
HtmlJsToES5Plugin
;
module
.
exports
=
exports
[
'default'
]
;
//
exports.default = HtmlJsToES5Plugin;
module
.
exports
=
HtmlJsToES5Plugin
;
project/public/index.html
View file @
e2f320a5
...
...
@@ -32,8 +32,8 @@
function
getUrlParam
(
name
)
{
var
search
=
window
.
location
.
search
;
var
matched
=
search
.
slice
(
1
)
.
match
(
new
RegExp
(
'(^|&)'
+
name
+
'=([^&]*)(&|$)'
,
'i'
));
.
slice
(
1
)
.
match
(
new
RegExp
(
'(^|&)'
+
name
+
'=([^&]*)(&|$)'
,
'i'
));
return
search
.
length
?
matched
&&
matched
[
2
]
:
null
;
}
...
...
@@ -42,6 +42,18 @@
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}
</script>
<script>
async
function
a
(){
}
async
function
b
(){
await
a
();
}
b
();
</script>
</head>
<body>
...
...
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