Commit e2f320a5 authored by 邱旭's avatar 邱旭

mfk

parent 6fe7ee36
......@@ -31,5 +31,5 @@ class HtmlJsToES5Plugin {
}
}
exports.default = HtmlJsToES5Plugin;
module.exports = exports['default'];
// exports.default = HtmlJsToES5Plugin;
module.exports = HtmlJsToES5Plugin;
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment