doway-coms 2.2.24 → 2.2.25

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": "2.2.24",
3
+ "version": "2.2.25",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -423,25 +423,25 @@ export default {
423
423
  );
424
424
  this.rows[i].items[j]["width"] = tempWidth;
425
425
 
426
- for (let k = 0; k < this.rows[i].items[j].node.length; k++) {
426
+ for (let k = 0; k < this.rows[i].items[j].nodes.length; k++) {
427
427
  let nodeDiffMiniutes = moment(
428
- this.rows[i].items[j].node[k].start
428
+ this.rows[i].items[j].nodes[k].start
429
429
  ).diff(moment(minDateTime), "minutes");
430
430
  let nodeTempLeft = XEUtils.divide(
431
431
  XEUtils.multiply(this.colWidth, nodeDiffMiniutes),
432
432
  splitMinutes
433
433
  );
434
- this.rows[i].items[j].node[k]["left"] = nodeTempLeft;
434
+ this.rows[i].items[j].nodes[k]["left"] = nodeTempLeft;
435
435
  //计算宽度
436
- let nodeOrdMinutes = moment(this.rows[i].items[j].node[k].end).diff(
437
- moment(this.rows[i].items[j].node[k].start),
436
+ let nodeOrdMinutes = moment(this.rows[i].items[j].nodes[k].end).diff(
437
+ moment(this.rows[i].items[j].nodes[k].start),
438
438
  "minutes"
439
439
  );
440
440
  let nodeTempWidth = XEUtils.divide(
441
441
  XEUtils.multiply(this.colWidth, nodeOrdMinutes),
442
442
  splitMinutes
443
443
  );
444
- this.rows[i].items[j].node[k]["width"] = nodeTempWidth;
444
+ this.rows[i].items[j].nodes[k]["width"] = nodeTempWidth;
445
445
  }
446
446
  }
447
447
  }