mirror of
https://github.com/veops/cmdb.git
synced 2025-08-08 22:57:08 +08:00
version: 2.3.1
This commit is contained in:
@@ -802,7 +802,6 @@
|
||||
import { mapState } from 'vuex'
|
||||
import { getDepartmentName, getDirectorName } from '@/utils/util'
|
||||
import Bus from '../companyStructure/eventBus/bus'
|
||||
import appConfig from '@/config/app'
|
||||
import Sortable from 'sortablejs'
|
||||
import XEUtils from 'xe-utils'
|
||||
import { ops_move_icon as OpsMoveIcon } from '@/core/icons'
|
||||
@@ -1179,7 +1178,7 @@ export default {
|
||||
},
|
||||
onEnd: (params) => {
|
||||
// 由于开启了虚拟滚动,newIndex和oldIndex是虚拟的
|
||||
const { newIndex, oldIndex, from, to } = params
|
||||
const { newIndex, oldIndex } = params
|
||||
// 从tableDragClassName拿到colid
|
||||
const fromColid = this.tableDragClassName[oldIndex]
|
||||
const toColid = this.tableDragClassName[newIndex]
|
||||
|
Reference in New Issue
Block a user