version: 2.3.1

This commit is contained in:
pycook
2023-08-19 12:43:55 +08:00
parent 836892d909
commit 3071983d6b
9 changed files with 14 additions and 16 deletions

View File

@@ -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]