* 获取版本清单
()
| 624 | * 获取版本清单 |
| 625 | */ |
| 626 | function getVersions() { |
| 627 | return $.http.get($.ver).then( |
| 628 | (resp) => { |
| 629 | try { |
| 630 | $.json = $.toObj(resp.body) |
| 631 | } catch { |
| 632 | $.json = {} |
| 633 | } |
| 634 | }, |
| 635 | () => ($.json = {}) |
| 636 | ) |
| 637 | } |
| 638 | |
| 639 | /** |
| 640 | * 获取应用会话 |
no test coverage detected
searching dependent graphs…