cosey 0.4.41 → 0.4.42
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.
|
@@ -339,6 +339,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
339
339
|
const statsColumns = computed(() => unref(props.statsColumns));
|
|
340
340
|
const statsData = computed(() => unref(props.statsData));
|
|
341
341
|
const isStatsVisible = computed(() => statsColumns.value && statsColumns.value.length > 0);
|
|
342
|
+
const rootRef = ref();
|
|
342
343
|
const expose = createMergedExpose(tableExposeKeys, () => elTableRef.value, {
|
|
343
344
|
reload,
|
|
344
345
|
expandAll,
|
|
@@ -346,7 +347,8 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
346
347
|
getFetchParams,
|
|
347
348
|
getFullFetchParams,
|
|
348
349
|
setData,
|
|
349
|
-
getData
|
|
350
|
+
getData,
|
|
351
|
+
rootRef
|
|
350
352
|
}, () => tableQueryRef.value);
|
|
351
353
|
watch(() => props.getExpose, () => {
|
|
352
354
|
props.getExpose?.(expose);
|
|
@@ -363,6 +365,8 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
363
365
|
to: "body",
|
|
364
366
|
disabled: !unref(isFullPage)
|
|
365
367
|
}, [withDirectives((openBlock(), createElementBlock("div", {
|
|
368
|
+
ref_key: "rootRef",
|
|
369
|
+
ref: rootRef,
|
|
366
370
|
class: normalizeClass([unref(hashId), unref(prefixCls), {
|
|
367
371
|
"is-fullpage": unref(isFullPage)
|
|
368
372
|
}]),
|