[安装]安装时可以选择手工输入API地址

This commit is contained in:
GoEdgeLab
2020-11-24 08:47:35 +08:00
parent e50ddb95f3
commit 688c5742bc
3 changed files with 23 additions and 8 deletions

View File

@@ -18,6 +18,8 @@ Tea.context(function () {
this.newAPINodePort = "8001"
this.apiRequesting = false
this.apiHostInput = false // 是否手工输入
this.apiSubmit = function () {
this.apiRequesting = true
}
@@ -41,6 +43,13 @@ Tea.context(function () {
this.step = this.STEP_INTRO
}
this.inputAPIHost = function () {
this.apiHostInput = true
this.$delay(function () {
this.$refs.newHostRef.focus()
})
}
// 数据库
this.dbInfo = {}
this.dbRequesting = false