Browse Source

fix: 修复ColumnSetting中默认隐藏列拖拽排序错误的bug (#1931)

Co-authored-by: 顾佳磊 <jareygu@gmail.com>
pull/1975/head
小顾 4 years ago
committed by GitHub
parent
commit
50468e9581
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/components/Table/src/components/settings/ColumnSetting.vue

7
src/components/Table/src/components/settings/ColumnSetting.vue

@ -313,7 +313,12 @@
}
plainSortOptions.value = columns;
setColumns(columns);
setColumns(
columns
.map((col: Options) => col.value)
.filter((value: string) => state.checkedList.includes(value)),
);
},
});
// order

Loading…
Cancel
Save