@lingxiteam/ebe-utils 0.1.31 → 0.1.33
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/es/index.js
CHANGED
|
@@ -426,14 +426,21 @@ export var fetchData = /*#__PURE__*/function () {
|
|
|
426
426
|
requestQueue = new RequestQueue(8);
|
|
427
427
|
requests = needFindDataPages.map(function (i) {
|
|
428
428
|
lastPageId = i.pageId;
|
|
429
|
-
|
|
429
|
+
// 增量构建时,没有 pagePath 只有 pageId
|
|
430
|
+
if (i.pagePath) {
|
|
431
|
+
pageIdMapping[i.pagePath] = i.pageId;
|
|
432
|
+
}
|
|
430
433
|
return new Promise(function (resolve, reject) {
|
|
431
434
|
requestQueue.sendRequest(function () {
|
|
432
435
|
return services.findPageInstByVersionId({
|
|
433
436
|
appId: appId,
|
|
434
437
|
pageId: i.pageId
|
|
435
438
|
});
|
|
436
|
-
}).then(
|
|
439
|
+
}).then(function (data) {
|
|
440
|
+
// @ts-ignore
|
|
441
|
+
pageIdMapping[data.pagePath] = data.pageId;
|
|
442
|
+
resolve(data);
|
|
443
|
+
}).catch(reject);
|
|
437
444
|
});
|
|
438
445
|
});
|
|
439
446
|
_context3.next = 60;
|
|
@@ -246,7 +246,9 @@ const useSelection = <T extends { [key: string]: unknown }>(
|
|
|
246
246
|
|
|
247
247
|
// 当选中数据变更时,才需要触发选中回调
|
|
248
248
|
if (JSON.stringify(oldSelectedKeys) !== JSON.stringify(newSelectedKeys)) {
|
|
249
|
-
|
|
249
|
+
setTimeout(() => {
|
|
250
|
+
onSelectChange(sltkeys, sltrows);
|
|
251
|
+
}, 10);
|
|
250
252
|
}
|
|
251
253
|
}
|
|
252
254
|
};
|
|
@@ -32,7 +32,16 @@
|
|
|
32
32
|
&-wrapper:first-child {
|
|
33
33
|
height: 100%;
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
// 表单校验提示出现时不影响布局
|
|
36
|
+
.@{form-item-prefix-cls}-explain {
|
|
37
|
+
position: relative;
|
|
38
|
+
min-height: 0;
|
|
39
|
+
&-error {
|
|
40
|
+
position: absolute;
|
|
41
|
+
top: 0;
|
|
42
|
+
left: 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
36
45
|
&.has-error {
|
|
37
46
|
.@{form-prefix-cls}-explain {
|
|
38
47
|
position: absolute;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingxiteam/ebe-utils",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33",
|
|
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.1.
|
|
22
|
+
"@lingxiteam/ebe": "0.1.33"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|