src/directive/el-drag-dialog/drag.js
@@ -15,6 +15,8 @@ })() dialogHeaderEl.onmousedown = (e) => { // 20211019 long 弹窗高度大于屏幕可视高度时 禁止拖拽 if (dragDom.offsetHeight > document.body.clientHeight) return // 鼠标按下,计算当前元素距离可视区的距离 const disX = e.clientX - dialogHeaderEl.offsetLeft const disY = e.clientY - dialogHeaderEl.offsetTop