mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-23 01:40:29 +08:00
当迁移了管理平台后,自动跳转到确认API配置页
This commit is contained in:
17
web/views/@default/setup/confirm/index.js
Normal file
17
web/views/@default/setup/confirm/index.js
Normal file
@@ -0,0 +1,17 @@
|
||||
Tea.context(function () {
|
||||
this.isRequesting = false
|
||||
|
||||
this.success = function () {
|
||||
teaweb.success("完成确认,现在跳转到首页", function () {
|
||||
window.location = "/"
|
||||
})
|
||||
}
|
||||
|
||||
this.before = function () {
|
||||
this.isRequesting = true
|
||||
}
|
||||
|
||||
this.done = function () {
|
||||
this.isRequesting = false
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user