From e16ad610e7a5bd9cd673ceb5e0b29a59369394bd Mon Sep 17 00:00:00 2001 From: xuziqiang <1344691446@qq.com> Date: Fri, 21 Jun 2024 15:45:35 +0800 Subject: [PATCH] feat: table cancel sticky --- lib/saas/view/service/list-table.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/saas/view/service/list-table.vue b/lib/saas/view/service/list-table.vue index 9eaf302..e949ceb 100644 --- a/lib/saas/view/service/list-table.vue +++ b/lib/saas/view/service/list-table.vue @@ -70,6 +70,7 @@ // } return formConfig; }); + const getBindValue = computed(() => ({ ...attrs, ...props, @@ -80,7 +81,7 @@ sticky: props.sticky === false ? false - : { offsetHeader: props.headerActions.length === 0 && !props.title ? 0 : 89 }, + : { offsetHeader: props.headerActions.length === 0 && !props.title ? 0 : 0 }, })); if (formConfig) { @@ -129,7 +130,7 @@ // border-top: 16px solid #e5ebf0; } .ns-table-header { - position: sticky; + // position: sticky; z-index: 3; top: 0; left: 0;