mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-03-07 16:24:01 +08:00
fix:图片上传拖拽排序判断是否移动端
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user