This commit is contained in:
gaoyuanwei 2022-07-18 16:03:06 +08:00
parent 0c9d41c4ce
commit 3d3e2729ed
1 changed files with 3 additions and 1 deletions

View File

@ -705,7 +705,9 @@
console.log('targetKeys: ', nextTargetKeys) console.log('targetKeys: ', nextTargetKeys)
console.log('direction: ', direction) console.log('direction: ', direction)
console.log('moveKeys: ', moveKeys) console.log('moveKeys: ', moveKeys)
targetKeys.value = moveKeys.filter((item, index) => index === 0) if (direction === 'right') {
targetKeys.value = moveKeys.filter((item, index) => index === 0)
}
} }
const handleSelectChange = (sourceSelectedKeys, targetSelectedKeys) => { const handleSelectChange = (sourceSelectedKeys, targetSelectedKeys) => {