From e9f8083097a8d4b247e41c629e4822400136e803 Mon Sep 17 00:00:00 2001
From: long <515897141@qq.com>
Date: 星期二, 26 十月 2021 11:15:08 +0800
Subject: [PATCH] 修复switch禁用为disabled(不是disable)

---
 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