Merge branch 'dev' into next

This commit is contained in:
chenjiahan
2022-08-28 09:47:56 +08:00
17 changed files with 303 additions and 135 deletions

View File

@@ -30,7 +30,7 @@
</script>
<% } %>
</head>
<body ontouchstart>
<body>
<div id="app"></div>
<script type="module" src="/desktop/main.js"></script>
</body>

View File

@@ -39,7 +39,7 @@
</script>
<% } %>
</head>
<body ontouchstart>
<body>
<div id="app"></div>
<script type="module" src="/mobile/main.js"></script>
</body>

View File

@@ -13,3 +13,8 @@ window.app = createApp(App)
setTimeout(() => {
window.app.mount('#app');
}, 0);
// https://stackoverflow.com/questions/3885018/active-pseudo-class-doesnt-work-in-mobile-safari/33681490#33681490
document.addEventListener('touchstart', () => {}, {
passive: true,
});