feat: table cancel sticky
This commit is contained in:
@@ -70,6 +70,7 @@
|
|||||||
// }
|
// }
|
||||||
return formConfig;
|
return formConfig;
|
||||||
});
|
});
|
||||||
|
|
||||||
const getBindValue = computed(() => ({
|
const getBindValue = computed(() => ({
|
||||||
...attrs,
|
...attrs,
|
||||||
...props,
|
...props,
|
||||||
@@ -80,7 +81,7 @@
|
|||||||
sticky:
|
sticky:
|
||||||
props.sticky === false
|
props.sticky === false
|
||||||
? false
|
? false
|
||||||
: { offsetHeader: props.headerActions.length === 0 && !props.title ? 0 : 89 },
|
: { offsetHeader: props.headerActions.length === 0 && !props.title ? 0 : 0 },
|
||||||
}));
|
}));
|
||||||
|
|
||||||
if (formConfig) {
|
if (formConfig) {
|
||||||
@@ -129,7 +130,7 @@
|
|||||||
// border-top: 16px solid #e5ebf0;
|
// border-top: 16px solid #e5ebf0;
|
||||||
}
|
}
|
||||||
.ns-table-header {
|
.ns-table-header {
|
||||||
position: sticky;
|
// position: sticky;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
Reference in New Issue
Block a user