@egova/egova-api 1.0.139 → 1.0.145
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/dist/index.common.js +17 -2
- package/dist/index.umd.js +17 -2
- package/dist/index.umd.min.js +1 -1
- package/package.json +2 -2
package/dist/index.common.js
CHANGED
|
@@ -62784,7 +62784,7 @@ function (_super) {
|
|
|
62784
62784
|
|
|
62785
62785
|
ProjectTree.prototype.init = function () {
|
|
62786
62786
|
return project_detail_tree_awaiter(this, void 0, void 0, function () {
|
|
62787
|
-
var result, data;
|
|
62787
|
+
var result, data, lastRenderData;
|
|
62788
62788
|
return project_detail_tree_generator(this, function (_a) {
|
|
62789
62789
|
switch (_a.label) {
|
|
62790
62790
|
case 0:
|
|
@@ -62802,7 +62802,19 @@ function (_super) {
|
|
|
62802
62802
|
TreeDataUtil.handlerTreeData(data, "name");
|
|
62803
62803
|
this.groupTree = data;
|
|
62804
62804
|
data = this.data.$clone();
|
|
62805
|
+
lastRenderData = this.renderData;
|
|
62805
62806
|
TreeDataUtil.handlerTreeData(this.data, "name", "apis");
|
|
62807
|
+
|
|
62808
|
+
if (lastRenderData && lastRenderData.length > 0) {
|
|
62809
|
+
this.data.forEach(function (dataItem) {
|
|
62810
|
+
lastRenderData.forEach(function (lastDataItem) {
|
|
62811
|
+
if (dataItem.id === lastDataItem.id) {
|
|
62812
|
+
return dataItem.expand = lastDataItem.expand;
|
|
62813
|
+
}
|
|
62814
|
+
});
|
|
62815
|
+
});
|
|
62816
|
+
}
|
|
62817
|
+
|
|
62806
62818
|
this.renderData = this.data.$clone();
|
|
62807
62819
|
return [2
|
|
62808
62820
|
/*return*/
|
|
@@ -63230,7 +63242,10 @@ function (_super) {
|
|
|
63230
63242
|
var index = this.openInterfaceList.findIndex(function (i) {
|
|
63231
63243
|
return i.id === data.id;
|
|
63232
63244
|
});
|
|
63233
|
-
|
|
63245
|
+
|
|
63246
|
+
if (index > -1) {
|
|
63247
|
+
this.openInterfaceList[index].name = data.name;
|
|
63248
|
+
}
|
|
63234
63249
|
};
|
|
63235
63250
|
|
|
63236
63251
|
ProjectDetail.prototype.onClose = function (index) {
|
package/dist/index.umd.js
CHANGED
|
@@ -62793,7 +62793,7 @@ function (_super) {
|
|
|
62793
62793
|
|
|
62794
62794
|
ProjectTree.prototype.init = function () {
|
|
62795
62795
|
return project_detail_tree_awaiter(this, void 0, void 0, function () {
|
|
62796
|
-
var result, data;
|
|
62796
|
+
var result, data, lastRenderData;
|
|
62797
62797
|
return project_detail_tree_generator(this, function (_a) {
|
|
62798
62798
|
switch (_a.label) {
|
|
62799
62799
|
case 0:
|
|
@@ -62811,7 +62811,19 @@ function (_super) {
|
|
|
62811
62811
|
TreeDataUtil.handlerTreeData(data, "name");
|
|
62812
62812
|
this.groupTree = data;
|
|
62813
62813
|
data = this.data.$clone();
|
|
62814
|
+
lastRenderData = this.renderData;
|
|
62814
62815
|
TreeDataUtil.handlerTreeData(this.data, "name", "apis");
|
|
62816
|
+
|
|
62817
|
+
if (lastRenderData && lastRenderData.length > 0) {
|
|
62818
|
+
this.data.forEach(function (dataItem) {
|
|
62819
|
+
lastRenderData.forEach(function (lastDataItem) {
|
|
62820
|
+
if (dataItem.id === lastDataItem.id) {
|
|
62821
|
+
return dataItem.expand = lastDataItem.expand;
|
|
62822
|
+
}
|
|
62823
|
+
});
|
|
62824
|
+
});
|
|
62825
|
+
}
|
|
62826
|
+
|
|
62815
62827
|
this.renderData = this.data.$clone();
|
|
62816
62828
|
return [2
|
|
62817
62829
|
/*return*/
|
|
@@ -63239,7 +63251,10 @@ function (_super) {
|
|
|
63239
63251
|
var index = this.openInterfaceList.findIndex(function (i) {
|
|
63240
63252
|
return i.id === data.id;
|
|
63241
63253
|
});
|
|
63242
|
-
|
|
63254
|
+
|
|
63255
|
+
if (index > -1) {
|
|
63256
|
+
this.openInterfaceList[index].name = data.name;
|
|
63257
|
+
}
|
|
63243
63258
|
};
|
|
63244
63259
|
|
|
63245
63260
|
ProjectDetail.prototype.onClose = function (index) {
|