47 行
1.5 KiB
HTML
47 行
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<!--本文件为编译到web专用文件-->
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<script>
|
|
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
|
|
CSS.supports('top: constant(a)'))
|
|
document.write(
|
|
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
|
|
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
|
|
</script>
|
|
<title>OmniCard</title>
|
|
<script>
|
|
(function() {
|
|
var origError = console.error;
|
|
console.error = function() {
|
|
for (var i = 0; i < arguments.length; i++) {
|
|
var arg = arguments[i];
|
|
if (typeof arg === 'string' && (arg.indexOf('GtPush') !== -1 || arg.indexOf('register fail') !== -1)) {
|
|
return;
|
|
}
|
|
}
|
|
origError.apply(console, arguments);
|
|
};
|
|
var origWarn = console.warn;
|
|
console.warn = function() {
|
|
for (var i = 0; i < arguments.length; i++) {
|
|
var arg = arguments[i];
|
|
if (typeof arg === 'string' && (arg.indexOf('GtPush') !== -1 || arg.indexOf('already connected') !== -1)) {
|
|
return;
|
|
}
|
|
}
|
|
origWarn.apply(console, arguments);
|
|
};
|
|
})();
|
|
</script>
|
|
<!--preload-links-->
|
|
<!--app-context-->
|
|
</head>
|
|
<body>
|
|
<div id="app"><!--app-html--></div>
|
|
<script type="module" src="/main"></script>
|
|
</body>
|
|
</html>
|
|
|