@lingxiteam/ebe-utils 0.2.27 → 0.2.29

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.
@@ -146,6 +146,7 @@ const useFormatCell = (props: useFormatCellProps) => {
146
146
  if (modal) {
147
147
  const {
148
148
  pageId,
149
+ // 出码用的是 pagePath
149
150
  pagePath,
150
151
  compStates = {},
151
152
  } = modal;
@@ -177,6 +177,7 @@ const useBaseDataSource = <T extends BaseDataSourceType>(options: DataSourceOpti
177
177
  .then(res => {
178
178
  setData({
179
179
  [name]: res,
180
+ [`${name}Filter`]: params,
180
181
  });
181
182
  const snapShot = cloneDeep(res);
182
183
  setDataSnapshot({
@@ -200,6 +201,7 @@ const useBaseDataSource = <T extends BaseDataSourceType>(options: DataSourceOpti
200
201
  .then(res => {
201
202
  setData({
202
203
  [name]: res,
204
+ [`${name}Filter`]: params,
203
205
  });
204
206
  const snapShot = cloneDeep(res);
205
207
  setDataSnapshot({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/ebe-utils",
3
- "version": "0.2.27",
3
+ "version": "0.2.29",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "",
@@ -19,7 +19,7 @@
19
19
  "@babel/types": "^7.12.12",
20
20
  "cac": "^6.7.14",
21
21
  "fs-extra": "9.x",
22
- "@lingxiteam/ebe": "0.2.27"
22
+ "@lingxiteam/ebe": "0.2.29"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"