From c98cd1d07a99883d4bd2b9833ce7e91e56a6f1fb Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期一, 19 四月 2021 14:06:08 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 src/components/plugin/DialogDrag.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/plugin/DialogDrag.js b/src/components/plugin/DialogDrag.js
index 2972234..c63717f 100644
--- a/src/components/plugin/DialogDrag.js
+++ b/src/components/plugin/DialogDrag.js
@@ -5,8 +5,8 @@
   bind (el, binding, vnode, oldVnode) {
     const dialogHeaderEl = el.querySelector('.el-dialog__header')
     const dragDom = el.querySelector('.el-dialog')
+    debugger
     dialogHeaderEl.style.cursor = 'move'
-
     // 鑾峰彇鍘熸湁灞炴�� ie dom鍏冪礌.currentStyle 鐏嫄璋锋瓕 window.getComputedStyle(dom鍏冪礌, null);
     const sty = dragDom.currentStyle || window.getComputedStyle(dragDom, null)
 
@@ -34,10 +34,10 @@
 
         // 绉诲姩褰撳墠鍏冪礌
         dragDom.style.left = `${l + styL}px`
-        dragDom.style.top = `${t + styT}px`
-
+        //    dragDom.style.top = `${t + styT}px`
+        dragDom.style.bottom = `${t - styT}px`
         // 灏嗘鏃剁殑浣嶇疆浼犲嚭鍘�
-        // binding.value({x:e.pageX,y:e.pageY})
+        // binding.value({ x: e.pageX, y: e.pageY })
       }
 
       document.onmouseup = function (e) {

--
Gitblit v1.8.0