Open
Description
-
[ ] I have searched the issues of this repository and believe that this is not a duplicate.
Version
undefined
Environment
all env
Reproduction link
Steps to reproduce
const columns = ref([{title: '序号', dataIndex: 'key', key: 'key', align: 'center'}, {}])
What is expected?
箭头在第二列
What is actually happening?
源码es\vc-table\hooks\useColumns.js
107行 if (!cloneColumns.includes(EXPAND_COLUMN)) {
117行 const expandColumnIndex = cloneColumns.indexOf(EXPAND_COLUMN);
实际上EXPAND_COLUMN指向一个空对象 并不能用includes or indexOf判断 只能使用expandIconColumnIndex 但是这里会导致使用expandIconColumnIndex一直预警
Metadata
Metadata
Assignees
Labels
No labels