From 48a787d55ffdc8af5a0ae740c584418fde65aa66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=95=9D=E8=A3=B3?= <1923740402@qq.com> Date: Sat, 18 Sep 2021 10:25:54 +0800 Subject: [PATCH] fix: [el-table] an extra 0 after the total line at safari (#3471) --- packages/components/table/src/table-footer/style-helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/table/src/table-footer/style-helper.ts b/packages/components/table/src/table-footer/style-helper.ts index 93f0422d65..4af925cff3 100644 --- a/packages/components/table/src/table-footer/style-helper.ts +++ b/packages/components/table/src/table-footer/style-helper.ts @@ -20,7 +20,7 @@ function useStyle(props: TableFooter) { } = useMapState() const hasGutter = computed(() => { - return !props.fixed && table.layout.gutterWidth + return !props.fixed && !table.layout.gutterWidth }) const isCellHidden = ( index: number,