atr-components 3.0.26 → 3.0.27

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.
@@ -4818,10 +4818,11 @@ class AtrFormComponent {
4818
4818
  else {
4819
4819
  list = [value];
4820
4820
  }
4821
+ let imgIndex = 0;
4821
4822
  for (let key of list) {
4822
4823
  images.push({
4823
4824
  key: key,
4824
- uid: "-1",
4825
+ uid: "-1" + (imgIndex++),
4825
4826
  url: ToolsUtil.getOssUrl(key)
4826
4827
  });
4827
4828
  }
@@ -5005,11 +5006,12 @@ class AtrFormComponent {
5005
5006
  else {
5006
5007
  list = [value];
5007
5008
  }
5009
+ let imgIndex = 0;
5008
5010
  for (let key of list) {
5009
5011
  if (key != "") {
5010
5012
  images.push({
5011
5013
  key: key,
5012
- uid: "-1",
5014
+ uid: "-1" + (imgIndex++),
5013
5015
  url: ToolsUtil.getOssUrl(key),
5014
5016
  });
5015
5017
  }