浏览代码

fix Event to JSON

tripeur 4 年之前
父节点
当前提交
e24f7f59c7
共有 3 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      lib/Event.js
  2. 0 0
      lib/Event.js.map
  3. 1 1
      src/Event.ts

+ 1 - 1
lib/Event.js

@@ -39,7 +39,7 @@ class Event {
         const output = {
             id: this.id,
             start: this.startStr,
-            end: this.startStr,
+            end: this.endStr,
             title: this.title,
             ressourceId: this.ressourceId,
             editable: this.editable,

文件差异内容过多而无法显示
+ 0 - 0
lib/Event.js.map


+ 1 - 1
src/Event.ts

@@ -66,7 +66,7 @@ export class Event implements IEvent, Selectable{
         const output:EventJSON =  {
             id:this.id,
             start:this.startStr,
-            end:this.startStr,
+            end:this.endStr,
             title:this.title,
             ressourceId:this.ressourceId,
             editable:this.editable,

部分文件因为文件数量过多而无法显示