doway-coms 1.7.9 → 1.8.1

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.7.9",
3
+ "version": "1.8.1",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -962,7 +962,7 @@ export default {
962
962
  XEUtils.arrayEach(this.propTableData, (item) => {
963
963
  if (item[this.field] === info[this.field]) {
964
964
  XEUtils.arrayEach(this.contrasts, (loop) => {
965
- if (item[loop] === this.row[loop]) {
965
+ if (item[loop] === this.row[loop] && item.id !== this.row.id) {
966
966
  flag++
967
967
  }
968
968
  })
@@ -316,7 +316,7 @@ export default {
316
316
  item["atUser"] = [];
317
317
  let atUser = item.receiver.split(",");
318
318
  this.userList.forEach(uitem => {
319
- if (atUser.indexOf(uitem.value) > -1) {
319
+ if (atUser.indexOf(uitem.code) > -1) {
320
320
  item.atUser.push(uitem.label);
321
321
  }
322
322
  });
@@ -404,7 +404,7 @@ export default {
404
404
  }
405
405
  });
406
406
  });
407
-
407
+ receiver = receiver.join(",");
408
408
  let postData = {
409
409
  content: this.remark,
410
410
  receiver: receiver,