doway-coms 1.8.3 → 1.8.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.8.3",
3
+ "version": "1.8.5",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -934,7 +934,7 @@ export default {
934
934
  (item) => item[fieldNames[j].linkField]
935
935
  )
936
936
  let setArr = new Set(mapArr)
937
- if (setArr.size <= mapArr.length) {
937
+ if (setArr.size < mapArr.length) {
938
938
  arr.push(true)
939
939
  }
940
940
  }
@@ -957,6 +957,18 @@ export default {
957
957
  }
958
958
  })
959
959
  }
960
+ let repeatArr = []
961
+ for (let j = 0; j < fieldNames.length; j++) {
962
+ if (
963
+ this.row[fieldNames[j].linkField] ===
964
+ info[fieldNames[j].field]
965
+ ) {
966
+ repeatArr.push(true)
967
+ }
968
+ }
969
+ if (repeatArr.length === fieldNames.length) {
970
+ info.sysRepeat = true
971
+ }
960
972
  if (info.sysRepeat && this.contrasts.length) {
961
973
  let flag = 0
962
974
  info.sysRepeat = false