doway-coms 1.8.2 → 1.8.3
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
|
@@ -926,6 +926,7 @@ export default {
|
|
|
926
926
|
})
|
|
927
927
|
return tempD.length !== fieldNames.length
|
|
928
928
|
})
|
|
929
|
+
let arr = []
|
|
929
930
|
// 分为有参查询和无参查询
|
|
930
931
|
if (tempExp.expressions.length && fieldNames.length == 1) {
|
|
931
932
|
for (let j = 0; j < fieldNames.length; j++) {
|
|
@@ -933,7 +934,7 @@ export default {
|
|
|
933
934
|
(item) => item[fieldNames[j].linkField]
|
|
934
935
|
)
|
|
935
936
|
let setArr = new Set(mapArr)
|
|
936
|
-
if (setArr.size
|
|
937
|
+
if (setArr.size <= mapArr.length) {
|
|
937
938
|
arr.push(true)
|
|
938
939
|
}
|
|
939
940
|
}
|
|
@@ -943,7 +944,7 @@ export default {
|
|
|
943
944
|
} else {
|
|
944
945
|
tempArr.forEach((item) => {
|
|
945
946
|
// 接口字段可能和表字段field不一致,linkField一致
|
|
946
|
-
|
|
947
|
+
|
|
947
948
|
for (let j = 0; j < fieldNames.length; j++) {
|
|
948
949
|
if (
|
|
949
950
|
info[fieldNames[j].field] == item[fieldNames[j].linkField]
|
|
@@ -962,7 +963,10 @@ export default {
|
|
|
962
963
|
XEUtils.arrayEach(this.propTableData, (item) => {
|
|
963
964
|
if (item[this.field] === info[this.field]) {
|
|
964
965
|
XEUtils.arrayEach(this.contrasts, (loop) => {
|
|
965
|
-
if (
|
|
966
|
+
if (
|
|
967
|
+
item[loop] === this.row[loop] &&
|
|
968
|
+
item.id !== this.row.id
|
|
969
|
+
) {
|
|
966
970
|
flag++
|
|
967
971
|
}
|
|
968
972
|
})
|