fix: [el-table] an extra 0 after the total line at safari (#3471)

This commit is contained in:
啝裳 2021-09-18 10:25:54 +08:00 committed by GitHub
parent ec8680632c
commit 48a787d55f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ function useStyle<T>(props: TableFooter<T>) {
} = useMapState<T>()
const hasGutter = computed(() => {
return !props.fixed && table.layout.gutterWidth
return !props.fixed && !table.layout.gutterWidth
})
const isCellHidden = (
index: number,