cosey 0.4.39 → 0.4.41

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.
@@ -114,7 +114,8 @@ const tableExposeKeys = [
114
114
  "collapseAll",
115
115
  "getFetchParams",
116
116
  "getFullFetchParams",
117
- "setData"
117
+ "setData",
118
+ "getData"
118
119
  ];
119
120
  const defaultTableConfig = {
120
121
  keys: {
@@ -127,6 +127,9 @@ var stdin_default = /* @__PURE__ */defineComponent({
127
127
  watch(() => props.data, () => {
128
128
  tableData.value = props.data || [];
129
129
  });
130
+ const getData = () => {
131
+ return tableData.value;
132
+ };
130
133
  const setData = data => {
131
134
  tableData.value = data;
132
135
  };
@@ -342,7 +345,8 @@ var stdin_default = /* @__PURE__ */defineComponent({
342
345
  collapseAll,
343
346
  getFetchParams,
344
347
  getFullFetchParams,
345
- setData
348
+ setData,
349
+ getData
346
350
  }, () => tableQueryRef.value);
347
351
  watch(() => props.getExpose, () => {
348
352
  props.getExpose?.(expose);
@@ -161,6 +161,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
161
161
  node.style.setProperty("position", "fixed");
162
162
  node.style.setProperty("top", rect.top + "px");
163
163
  node.style.setProperty("left", rect.left + "px");
164
+ node.style.setProperty("opacity", "0");
164
165
  };
165
166
  return (_ctx, _cache) => {
166
167
  return openBlock(), createBlock(TransitionGroup, mergeProps(mergedProps.value, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosey",
3
- "version": "0.4.39",
3
+ "version": "0.4.41",
4
4
  "description": "基于 Vue3 + vite 的后台管理系统框架",
5
5
  "type": "module",
6
6
  "main": "index.js",