mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-27 22:00:24 +08:00
[安装]安装时可以选择手工输入API地址
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user