fixed: modal draggable compatibility Edge/sogou
This commit is contained in:
parent
153455c06c
commit
e4a967ce35
1 changed files with 2 additions and 2 deletions
|
@ -280,8 +280,8 @@
|
|||
|
||||
const $content = this.$refs.content;
|
||||
const rect = $content.getBoundingClientRect();
|
||||
this.dragData.x = rect.x;
|
||||
this.dragData.y = rect.y;
|
||||
this.dragData.x = rect.x || rect.left;
|
||||
this.dragData.y = rect.y || rect.top;
|
||||
|
||||
const distance = {
|
||||
x: event.clientX,
|
||||
|
|
Loading…
Add table
Reference in a new issue