stk-table-vue 0.8.0 → 0.8.1
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/package.json
CHANGED
|
@@ -52,7 +52,6 @@
|
|
|
52
52
|
'fixed-mode': props.fixedMode,
|
|
53
53
|
}"
|
|
54
54
|
>
|
|
55
|
-
<!-- transform: virtualX_on ? `translateX(${virtualScrollX.offsetLeft}px)` : null, 用transform控制虚拟滚动左边距,sticky会有问题 -->
|
|
56
55
|
<thead v-if="!headless" ref="theadRef">
|
|
57
56
|
<tr v-for="(row, rowIndex) in tableHeaders" :key="rowIndex" @contextmenu="onHeaderMenu($event)">
|
|
58
57
|
<!-- 这个th用于横向虚拟滚动表格左边距,width、maxWidth 用于兼容低版本浏览器 -->
|
|
@@ -110,9 +109,6 @@
|
|
|
110
109
|
</tr>
|
|
111
110
|
</thead>
|
|
112
111
|
|
|
113
|
-
<!-- 用于虚拟滚动表格内容定位 @deprecated 有兼容问题-->
|
|
114
|
-
<!-- <tbody v-if="virtual_on" :style="{ height: `${virtualScroll.offsetTop}px` }"></tbody> -->
|
|
115
|
-
<!-- <tbody :style="{ transform: `translateY(${virtualScroll.offsetTop}px)` }"> -->
|
|
116
112
|
<tbody class="stk-tbody-main" @dragover="onTrDragOver" @dragenter="onTrDragEnter" @dragend="onTrDragEnd">
|
|
117
113
|
<tr v-if="virtual_on && !isSRBRActive" :style="`height:${virtualScroll.offsetTop}px`" class="padding-top-tr">
|
|
118
114
|
<!--这个td用于配合虚拟滚动的th对应,防止列错位-->
|
|
File without changes
|