diff --git a/src/App.vue b/src/App.vue index 70223e4..0c3a131 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,7 @@ @@ -37,9 +38,20 @@ export default defineComponent({ }; window.document.body.onclick = (evt: any) => { + if ((window).touchPriority) { + return; + } EventBus.getInstance().emit(EventNamesDefine.DocumentBodyClick, evt); }; + if ("ontouchstart" in document.documentElement === true) { + window.document.body.ontouchstart = (evt: any) => { + if ((window).touchPriority) { + EventBus.getInstance().emit(EventNamesDefine.DocumentBodyClick, evt); + } + }; + } + document.body.classList.add("overflow-hidden"); (window as any).controlLogout = () => {