fix(BasicTable): index still show when set showIndexColumn false (#3455)
This commit is contained in:
parent
d6d1120d00
commit
75f5b7ac4d
|
|
@ -445,12 +445,11 @@
|
|||
const restore = () => {
|
||||
// 设置过才恢复
|
||||
if (typeof tableSettingStore.getShowIndexColumn === 'boolean') {
|
||||
isIndexColumnShow.value = tableSettingStore.getShowIndexColumn;
|
||||
isIndexColumnShow.value = defaultIsIndexColumnShow && tableSettingStore.getShowIndexColumn;
|
||||
}
|
||||
if (typeof tableSettingStore.getShowRowSelection === 'boolean') {
|
||||
isRowSelectionShow.value = defaultIsRowSelectionShow && tableSettingStore.getShowRowSelection;
|
||||
}
|
||||
|
||||
// 序号列更新
|
||||
onIndexColumnShowChange({
|
||||
target: { checked: isIndexColumnShow.value },
|
||||
|
|
|
|||
Loading…
Reference in New Issue