去掉console.log
This commit is contained in:
parent
6b029a1361
commit
2987a16dc3
@ -1004,7 +1004,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
child.ondragstart = function(e){
|
child.ondragstart = function(e){
|
||||||
console.log(e)
|
|
||||||
let count = _this.selectRowData.length
|
let count = _this.selectRowData.length
|
||||||
if(_this.selectRowData.length >= 99){
|
if(_this.selectRowData.length >= 99){
|
||||||
count = 99
|
count = 99
|
||||||
@ -1024,7 +1023,6 @@
|
|||||||
|
|
||||||
dragged = e.path[0]
|
dragged = e.path[0]
|
||||||
draggedIndex = e.path[0].rowIndex
|
draggedIndex = e.path[0].rowIndex
|
||||||
console.log('child'+draggedIndex+'开始拖拽');
|
|
||||||
// 只有选中的才能拖拽
|
// 只有选中的才能拖拽
|
||||||
_this.cellMouseIndex = -1
|
_this.cellMouseIndex = -1
|
||||||
dragged.style.cursor = 'grabbing'
|
dragged.style.cursor = 'grabbing'
|
||||||
|
|||||||
@ -169,7 +169,6 @@
|
|||||||
let dropbox = document.body
|
let dropbox = document.body
|
||||||
|
|
||||||
document.body.ondragstart = function(e){
|
document.body.ondragstart = function(e){
|
||||||
console.log(e.target)
|
|
||||||
return e.target.slot === 'jmal';
|
return e.target.slot === 'jmal';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user