mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-06-07 03:53:57 +08:00
fix:图片上传拖拽排序判断是否移动端
This commit is contained in:
@@ -333,7 +333,8 @@
|
|||||||
this.updateDragInfo()
|
this.updateDragInfo()
|
||||||
});
|
});
|
||||||
// #ifdef H5
|
// #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
|
// #endif
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user