Browse Source

feat: table cancel sticky

main
xuziqiang 3 months ago
parent
commit
e16ad610e7
  1. 5
      lib/saas/view/service/list-table.vue

5
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;

Loading…
Cancel
Save