(index)
| 98 | |
| 99 | // 获取pane,防止没有初始化的时候调用内部方法取值 |
| 100 | getPane(index) { |
| 101 | if (!this.panes || index < 0 || index >= this.panes.length) { |
| 102 | throw new Error('no pane can return.'); |
| 103 | } |
| 104 | return this.panes[index]; |
| 105 | } |
| 106 | |
| 107 | getBar(index) { |
| 108 | if (!this.bars || index < 0 || index >= this.bars.length) { |
no outgoing calls
no test coverage detected