forked from drone/command-center-dashboard

张含笑
2025-04-19 bdbef0fbde20317d19bfc6d3473dabb10fb3fb3b
src/directive/drag.js
@@ -11,7 +11,6 @@
      }
      const mousemoveFun = evt => {
         console.log(66666)
         //获取body宽高,获取拖动盒子的宽高
         const { offsetWidth: bodyWidth, offsetHeight: bodyHeight } = document.body
         const { offsetWidth: boxWidth, offsetHeight: boxHeight } = dragBox