From 0e0365cb3abd31edcf0c09c3fc215027983dfca8 Mon Sep 17 00:00:00 2001
From: long <515897141@qq.com>
Date: 星期三, 08 十二月 2021 11:54:15 +0800
Subject: [PATCH] 修复多图上传组件

---
 src/directive/el-drag-dialog/drag.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/directive/el-drag-dialog/drag.js b/src/directive/el-drag-dialog/drag.js
index 299e985..459f780 100644
--- a/src/directive/el-drag-dialog/drag.js
+++ b/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

--
Gitblit v1.8.0