@egova/egova-api 1.3.30 → 1.3.31

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.
@@ -11917,9 +11917,6 @@ var params_setting_ParamsSetting = /** @class */function (_super) {
11917
11917
  });
11918
11918
  this.queryDataList = this.interfaceModel.queryParams;
11919
11919
  this.interfaceModel.formParams.forEach(function (item) {
11920
- if ((item.text === undefined || item.text === null || item.text === "") && item.remark !== undefined) {
11921
- item.text = item.remark;
11922
- }
11923
11920
  if (!item.indexFlag) {
11924
11921
  item.indexFlag = _this.formParamsIndex++ + "_" + _this.interfaceModel.info.id;
11925
11922
  }
@@ -13728,27 +13725,12 @@ var interface_settings_InterfaceSettings = /** @class */function (_super) {
13728
13725
  };
13729
13726
  InterfaceSettings.prototype.onSave = function () {
13730
13727
  return __awaiter(this, void 0, void 0, function () {
13731
- var tmpInterfaceModel, normalizedFormParams;
13728
+ var tmpInterfaceModel;
13732
13729
  return __generator(this, function (_a) {
13733
13730
  switch (_a.label) {
13734
13731
  case 0:
13735
13732
  this.loading = true;
13736
13733
  tmpInterfaceModel = this.interfaceModel.$clone();
13737
- normalizedFormParams = [];
13738
- if (Array.isArray(tmpInterfaceModel.formParams)) {
13739
- normalizedFormParams = tmpInterfaceModel.formParams.map(function (item) {
13740
- var normalized = __assign({}, item);
13741
- if ((normalized.text === undefined || normalized.text === null || normalized.text === "") && normalized.remark !== undefined) {
13742
- normalized.text = normalized.remark;
13743
- }
13744
- delete normalized.remark;
13745
- return normalized;
13746
- });
13747
- tmpInterfaceModel.formParams = normalizedFormParams;
13748
- this.interfaceModel.formParams = normalizedFormParams.map(function (item) {
13749
- return __assign({}, item);
13750
- });
13751
- }
13752
13734
  if (tmpInterfaceModel.name && tmpInterfaceModel.name !== tmpInterfaceModel.info.name) {
13753
13735
  tmpInterfaceModel.info.name = tmpInterfaceModel.name;
13754
13736
  }
package/dist/index.umd.js CHANGED
@@ -11926,9 +11926,6 @@ var params_setting_ParamsSetting = /** @class */function (_super) {
11926
11926
  });
11927
11927
  this.queryDataList = this.interfaceModel.queryParams;
11928
11928
  this.interfaceModel.formParams.forEach(function (item) {
11929
- if ((item.text === undefined || item.text === null || item.text === "") && item.remark !== undefined) {
11930
- item.text = item.remark;
11931
- }
11932
11929
  if (!item.indexFlag) {
11933
11930
  item.indexFlag = _this.formParamsIndex++ + "_" + _this.interfaceModel.info.id;
11934
11931
  }
@@ -13737,27 +13734,12 @@ var interface_settings_InterfaceSettings = /** @class */function (_super) {
13737
13734
  };
13738
13735
  InterfaceSettings.prototype.onSave = function () {
13739
13736
  return __awaiter(this, void 0, void 0, function () {
13740
- var tmpInterfaceModel, normalizedFormParams;
13737
+ var tmpInterfaceModel;
13741
13738
  return __generator(this, function (_a) {
13742
13739
  switch (_a.label) {
13743
13740
  case 0:
13744
13741
  this.loading = true;
13745
13742
  tmpInterfaceModel = this.interfaceModel.$clone();
13746
- normalizedFormParams = [];
13747
- if (Array.isArray(tmpInterfaceModel.formParams)) {
13748
- normalizedFormParams = tmpInterfaceModel.formParams.map(function (item) {
13749
- var normalized = __assign({}, item);
13750
- if ((normalized.text === undefined || normalized.text === null || normalized.text === "") && normalized.remark !== undefined) {
13751
- normalized.text = normalized.remark;
13752
- }
13753
- delete normalized.remark;
13754
- return normalized;
13755
- });
13756
- tmpInterfaceModel.formParams = normalizedFormParams;
13757
- this.interfaceModel.formParams = normalizedFormParams.map(function (item) {
13758
- return __assign({}, item);
13759
- });
13760
- }
13761
13743
  if (tmpInterfaceModel.name && tmpInterfaceModel.name !== tmpInterfaceModel.info.name) {
13762
13744
  tmpInterfaceModel.info.name = tmpInterfaceModel.name;
13763
13745
  }