feat: 修复min的问题

This commit is contained in:
ibuler
2021-01-28 20:59:30 +08:00
committed by Orange
parent 309d9379b9
commit 9840396a6f

View File

@@ -223,7 +223,7 @@ export default {
defaultColumnsNames = totalColumnsNames.filter(n => defaultColumnsNames.indexOf(n) > -1)
// 最小列
const minColumnsNames = _.get(this.iConfig, 'columnsShow.min', [])
const minColumnsNames = _.get(this.iConfig, 'columnsShow.min', ['action', 'id'])
.filter(n => defaultColumnsNames.indexOf(n) > -1)
// 应该显示的列