bkui-vue 0.0.1-beta.384 → 0.0.1-beta.386
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +6 -12
- package/dist/index.umd.js +1 -1
- package/lib/table/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -18705,9 +18705,9 @@ var useFixedColumn = (_props, colgroups, hasScrollY) => {
|
|
18705
18705
|
const id = current[COLUMN_ATTRIBUTE.COL_UID];
|
18706
18706
|
if (curFixedPos === fixedPos && sourceId !== id) {
|
18707
18707
|
const width = getColumnReactWidth(current);
|
18708
|
-
preOffset
|
18708
|
+
preOffset = preOffset + width;
|
18709
18709
|
}
|
18710
|
-
if (
|
18710
|
+
if (sourceId === id) {
|
18711
18711
|
break;
|
18712
18712
|
}
|
18713
18713
|
}
|
@@ -19454,10 +19454,7 @@ const useClass = (props2, targetColumns, root, reactiveProp, pageData) => {
|
|
19454
19454
|
const autoHeight = ref(200);
|
19455
19455
|
const hasScrollY = ref(false);
|
19456
19456
|
const hasFooter = computed(() => props2.pagination && props2.data.length);
|
19457
|
-
const hasScrollYRef = computed(() =>
|
19458
|
-
console.log("--", hasScrollY.value);
|
19459
|
-
return hasScrollY.value;
|
19460
|
-
});
|
19457
|
+
const hasScrollYRef = computed(() => hasScrollY.value);
|
19461
19458
|
const tableClass = computed(() => classes({
|
19462
19459
|
[resolveClassName("table")]: true,
|
19463
19460
|
"has-footer": hasFooter.value,
|
@@ -20195,12 +20192,9 @@ var Component$e = defineComponent({
|
|
20195
20192
|
const footerStyle = computed(() => ({
|
20196
20193
|
"--footer-height": hasFooter.value ? `${props2.paginationHeihgt}px` : "0"
|
20197
20194
|
}));
|
20198
|
-
const fixedContainerStyle = computed(() => {
|
20199
|
-
|
20200
|
-
|
20201
|
-
right: hasScrollYRef.value ? `${SCROLLY_WIDTH}px` : 0
|
20202
|
-
}, footerStyle.value);
|
20203
|
-
});
|
20195
|
+
const fixedContainerStyle = computed(() => __spreadValues({
|
20196
|
+
right: hasScrollYRef.value ? `${SCROLLY_WIDTH}px` : 0
|
20197
|
+
}, footerStyle.value));
|
20204
20198
|
const {
|
20205
20199
|
renderScrollLoading
|
20206
20200
|
} = useScrollLoading(props2, ctx);
|