增加SSH认证连接测试功能

This commit is contained in:
GoEdgeLab
2021-04-18 21:19:50 +08:00
parent 7e9422df78
commit c35c7e261d
22 changed files with 221 additions and 63 deletions

View File

@@ -0,0 +1,17 @@
Tea.context(function () {
this.isRequesting = false
this.resp = null
this.success = function (resp) {
this.resp = resp.data
}
this.requestBefore = function () {
this.isRequesting = true
this.resp = null
}
this.requestDone = function () {
this.isRequesting = false
}
})