feat: table cancel sticky
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user