@kyfe/ks-query-table 0.0.10 → 0.0.12
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
;{try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
1
|
+
;{try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="807508cc-cf54-4e06-b227-d35e9e901164",e._sentryDebugIdIdentifier="sentry-dbid-807508cc-cf54-4e06-b227-d35e9e901164")}catch(e){}};
|
|
2
2
|
{
|
|
3
3
|
let _global =
|
|
4
4
|
typeof window !== 'undefined' ?
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
self :
|
|
12
12
|
{};
|
|
13
13
|
|
|
14
|
-
_global.SENTRY_RELEASE={id:"@kyfe/ks-query-table@0.0.
|
|
14
|
+
_global.SENTRY_RELEASE={id:"@kyfe/ks-query-table@0.0.12"};}
|
|
15
15
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
16
16
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
17
17
|
module.exports = factory();
|
|
@@ -22794,10 +22794,7 @@ var style_cell = __webpack_require__("4396");
|
|
|
22794
22794
|
methods: {
|
|
22795
22795
|
setContent: function setContent(text) {
|
|
22796
22796
|
// 判空,否则没有值会显示undefined,特别是自定义列没有返回的时候
|
|
22797
|
-
|
|
22798
|
-
return '';
|
|
22799
|
-
}
|
|
22800
|
-
this.text = String(text);
|
|
22797
|
+
this.text = undefined === text ? '' : String(text);
|
|
22801
22798
|
},
|
|
22802
22799
|
setOffset: function setOffset(offset) {
|
|
22803
22800
|
this.offset = offset;
|
|
@@ -33683,7 +33680,8 @@ var table_horizontal_component = normalizeComponent(
|
|
|
33683
33680
|
try {
|
|
33684
33681
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
33685
33682
|
var entry = _step.value;
|
|
33686
|
-
var
|
|
33683
|
+
var topFixedHeight = _this3.$el.querySelector('.top-fixed') ? _this3.$el.querySelector('.top-fixed').clientHeight : 0;
|
|
33684
|
+
var newHeight = entry.contentRect.height - topFixedHeight;
|
|
33687
33685
|
// 仅在高度变化时执行某些操作
|
|
33688
33686
|
if (newHeight !== previousHeight) {
|
|
33689
33687
|
// console.log('新高度:', newHeight)
|