diff --git a/src/components/Table/src/Table.vue b/src/components/Table/src/Table.vue index 493c9f35e..69c830156 100644 --- a/src/components/Table/src/Table.vue +++ b/src/components/Table/src/Table.vue @@ -315,7 +315,7 @@ export default defineComponent({ border } = unref(getProps) //默认排序 - updateSort(columns) + // updateSort(columns) return [...[renderTableExpand()], ...[renderTableSelection()]].concat( (columnsChildren || columns).map((v) => { const zhName = v.label || '';//中文名称 diff --git a/src/components/rowDrop/index.vue b/src/components/rowDrop/index.vue index 815959610..747f0f3d3 100644 --- a/src/components/rowDrop/index.vue +++ b/src/components/rowDrop/index.vue @@ -170,7 +170,7 @@ const initSelectSta = () => { checkedDataList.value = [] allData.value = [] // 缓存回显临时变量 - const _showTableColumns = [...leftArr] + let _showTableColumns = [...leftArr] // 显示缓存中的字段 JSON.parse(res).forEach((item, index) => { // 列表字段第一个不能参与排序及显隐操作(详情弹窗必备)