|
|
|
@ -830,6 +830,7 @@ export default { |
|
|
|
|
// console.log(refParamBox,'目标dom',refParamBox.getBoundingClientRect()); |
|
|
|
|
// 判断拖拽的地址 |
|
|
|
|
let targetDom = that.$refs.goods.getBoundingClientRect() |
|
|
|
|
console.log(evt.oldIndex) |
|
|
|
|
if(evt.originalEvent.pageX<targetDom.right&&evt.originalEvent.pageX>targetDom.left){ |
|
|
|
|
if(evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top){ |
|
|
|
|
console.log(evt) |
|
|
|
|