mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-23 01:40:29 +08:00
增加SSH认证连接测试功能
This commit is contained in:
17
web/views/@default/clusters/grants/test.js
Normal file
17
web/views/@default/clusters/grants/test.js
Normal 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
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user