MCPcopy Create free account
hub / github.com/Tong89/smartNode / ganttTimeRange

Function ganttTimeRange

frontend/app.js:193–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191
192 // ── 甘特图计算属性 ────────────────────────────────────────────────
193 ganttTimeRange() {
194 if (!this.resourceTimeline) return [0, 1];
195 const [s, e] = this.resourceTimeline.time_range;
196 return e > s ? [s, e] : [s, s + 1];
197 },
198
199 ganttRangeSpan() {
200 return this.ganttTimeRange[1] - this.ganttTimeRange[0];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected