()
| 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]; |
nothing calls this directly
no outgoing calls
no test coverage detected