@egova/egova-api 1.0.214 → 1.0.215

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.
@@ -60325,7 +60325,11 @@ function (_super) {
60325
60325
  this.exitAddItem = false;
60326
60326
  }
60327
60327
 
60328
- this.varList.length && this.onSelectItem(this.varList[0]);
60328
+ if (this.currentItem && this.currentItem.id) {
60329
+ this.onSelectItem(this.currentItem);
60330
+ } else {
60331
+ this.varList.length && this.onSelectItem(this.varList[0]);
60332
+ }
60329
60333
  }
60330
60334
 
60331
60335
  return [2
@@ -60448,6 +60452,7 @@ function (_super) {
60448
60452
 
60449
60453
  if ((_a = this.currentItem) === null || _a === void 0 ? void 0 : _a.id) {
60450
60454
  data.id = (_b = this.currentItem) === null || _b === void 0 ? void 0 : _b.id;
60455
+ data.createTime = this.currentItem.createTime;
60451
60456
  }
60452
60457
 
60453
60458
  return [4
@@ -63215,7 +63220,11 @@ function (_super) {
63215
63220
  this.exitAddItem = false;
63216
63221
  }
63217
63222
 
63218
- this.securityList.length && this.onSelectSecurityItem(this.securityList[0]);
63223
+ if (this.currentSecurityItem && this.currentSecurityItem.id) {
63224
+ this.onSelectSecurityItem(this.currentSecurityItem);
63225
+ } else {
63226
+ this.securityList.length && this.onSelectSecurityItem(this.securityList[0]);
63227
+ }
63219
63228
  }
63220
63229
 
63221
63230
  return [2
@@ -63350,6 +63359,7 @@ function (_super) {
63350
63359
  /*break*/
63351
63360
  , 2];
63352
63361
  data.id = this.currentSecurityItem.id;
63362
+ data.createTime = this.currentSecurityItem.createTime;
63353
63363
  return [4
63354
63364
  /*yield*/
63355
63365
  , this.service.updateSecurityItem(data)];
@@ -66437,7 +66447,7 @@ function (_super) {
66437
66447
  };
66438
66448
 
66439
66449
  ProjectDetail.prototype.onEnvironmentRefresh = function () {
66440
- this.$refs["interface-settings"].getEnvironmentParamList();
66450
+ this.$refs["interface-settings"] && this.$refs["interface-settings"].getEnvironmentParamList();
66441
66451
  };
66442
66452
 
66443
66453
  var _a;
package/dist/index.umd.js CHANGED
@@ -60334,7 +60334,11 @@ function (_super) {
60334
60334
  this.exitAddItem = false;
60335
60335
  }
60336
60336
 
60337
- this.varList.length && this.onSelectItem(this.varList[0]);
60337
+ if (this.currentItem && this.currentItem.id) {
60338
+ this.onSelectItem(this.currentItem);
60339
+ } else {
60340
+ this.varList.length && this.onSelectItem(this.varList[0]);
60341
+ }
60338
60342
  }
60339
60343
 
60340
60344
  return [2
@@ -60457,6 +60461,7 @@ function (_super) {
60457
60461
 
60458
60462
  if ((_a = this.currentItem) === null || _a === void 0 ? void 0 : _a.id) {
60459
60463
  data.id = (_b = this.currentItem) === null || _b === void 0 ? void 0 : _b.id;
60464
+ data.createTime = this.currentItem.createTime;
60460
60465
  }
60461
60466
 
60462
60467
  return [4
@@ -63224,7 +63229,11 @@ function (_super) {
63224
63229
  this.exitAddItem = false;
63225
63230
  }
63226
63231
 
63227
- this.securityList.length && this.onSelectSecurityItem(this.securityList[0]);
63232
+ if (this.currentSecurityItem && this.currentSecurityItem.id) {
63233
+ this.onSelectSecurityItem(this.currentSecurityItem);
63234
+ } else {
63235
+ this.securityList.length && this.onSelectSecurityItem(this.securityList[0]);
63236
+ }
63228
63237
  }
63229
63238
 
63230
63239
  return [2
@@ -63359,6 +63368,7 @@ function (_super) {
63359
63368
  /*break*/
63360
63369
  , 2];
63361
63370
  data.id = this.currentSecurityItem.id;
63371
+ data.createTime = this.currentSecurityItem.createTime;
63362
63372
  return [4
63363
63373
  /*yield*/
63364
63374
  , this.service.updateSecurityItem(data)];
@@ -66446,7 +66456,7 @@ function (_super) {
66446
66456
  };
66447
66457
 
66448
66458
  ProjectDetail.prototype.onEnvironmentRefresh = function () {
66449
- this.$refs["interface-settings"].getEnvironmentParamList();
66459
+ this.$refs["interface-settings"] && this.$refs["interface-settings"].getEnvironmentParamList();
66450
66460
  };
66451
66461
 
66452
66462
  var _a;