blixify-ui-web 0.4.9 → 0.4.11
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/lib/components/data/dataTemplate/index.js +7 -5
- package/lib/components/data/dataTemplate/index.js.map +1 -1
- package/lib/components/data/updateModule.d.ts.map +1 -1
- package/lib/components/data/updateModule.js +4 -2
- package/lib/components/data/updateModule.js.map +1 -1
- package/lib/components/input/address/index.js +1 -1
- package/lib/components/input/address/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -754,6 +754,8 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
754
754
|
var clonedLastCursor = JSON.parse(JSON.stringify(lastCursor));
|
|
755
755
|
clonedLastCursor[prefix] = cursor[prefix];
|
|
756
756
|
setLastCursor(clonedLastCursor);
|
|
757
|
+
tableLoading[prefix] = true;
|
|
758
|
+
setTableLoading(tableLoading);
|
|
757
759
|
}
|
|
758
760
|
var clonedPageIndex = JSON.parse(JSON.stringify(pageIndex));
|
|
759
761
|
clonedPageIndex[prefix] = clonedPageIndex[prefix] + 1;
|
|
@@ -869,13 +871,13 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
869
871
|
newPrettierTableData = prettierDataList;
|
|
870
872
|
}
|
|
871
873
|
else {
|
|
872
|
-
isExists =
|
|
874
|
+
isExists = tableData[prefix !== null && prefix !== void 0 ? prefix : "default"].find(function (eachData) { var _a; return eachData.id === ((_a = dataList === null || dataList === void 0 ? void 0 : dataList[0]) === null || _a === void 0 ? void 0 : _a.id); });
|
|
873
875
|
newTableData = isExists
|
|
874
|
-
?
|
|
875
|
-
:
|
|
876
|
+
? tableData[prefix !== null && prefix !== void 0 ? prefix : "default"]
|
|
877
|
+
: tableData[prefix !== null && prefix !== void 0 ? prefix : "default"].concat(dataList);
|
|
876
878
|
newPrettierTableData = isExists
|
|
877
|
-
?
|
|
878
|
-
:
|
|
879
|
+
? spaceTableData[prefix !== null && prefix !== void 0 ? prefix : "default"]
|
|
880
|
+
: spaceTableData[prefix !== null && prefix !== void 0 ? prefix : "default"].concat(prettierDataList);
|
|
879
881
|
}
|
|
880
882
|
handleSetListData(newTableData, newPrettierTableData, prefix);
|
|
881
883
|
clonedSize = JSON.parse(JSON.stringify(size));
|