* @function Online.prototype.load * @description 加载 online,验证 online 是否可用。 * @returns {Promise} 包含网络请求结果的 Promise 对象。
()
| 40 | * @returns {Promise} 包含网络请求结果的 Promise 对象。 |
| 41 | */ |
| 42 | load() { |
| 43 | return FetchRequest.get(this.rootUrl).then(function (response) { |
| 44 | return response; |
| 45 | }); |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * @function Online.prototype.login |
no test coverage detected