diff --git a/tuniao-ui/components/tn-image-upload-drag/tn-image-upload-drag.vue b/tuniao-ui/components/tn-image-upload-drag/tn-image-upload-drag.vue index 687abb4..5030595 100644 --- a/tuniao-ui/components/tn-image-upload-drag/tn-image-upload-drag.vue +++ b/tuniao-ui/components/tn-image-upload-drag/tn-image-upload-drag.vue @@ -333,7 +333,8 @@ this.updateDragInfo() }); // #ifdef H5 - this.h5LongPress = true; + const userAgent = navigator.userAgent.toLowerCase(); + this.h5LongPress = /ipad|iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/.test(userAgent); // #endif }, methods: {