Browse Source

table排序

master_hella_20240701
wangyufei 5 months ago
parent
commit
5dbd8cc4b1
  1. 2
      src/components/Table/src/Table.vue
  2. 2
      src/components/rowDrop/index.vue

2
src/components/Table/src/Table.vue

@ -315,7 +315,7 @@ export default defineComponent({
border border
} = unref(getProps) } = unref(getProps)
// //
updateSort(columns) // updateSort(columns)
return [...[renderTableExpand()], ...[renderTableSelection()]].concat( return [...[renderTableExpand()], ...[renderTableSelection()]].concat(
(columnsChildren || columns).map((v) => { (columnsChildren || columns).map((v) => {
const zhName = v.label || '';// const zhName = v.label || '';//

2
src/components/rowDrop/index.vue

@ -170,7 +170,7 @@ const initSelectSta = () => {
checkedDataList.value = [] checkedDataList.value = []
allData.value = [] allData.value = []
// //
const _showTableColumns = [...leftArr] let _showTableColumns = [...leftArr]
// //
JSON.parse(res).forEach((item, index) => { JSON.parse(res).forEach((item, index) => {
// //

Loading…
Cancel
Save