优化交互

This commit is contained in:
刘祥超
2021-06-06 09:22:59 +08:00
parent abc5162bca
commit 7cbfa2458b
7 changed files with 66 additions and 6 deletions

View File

@@ -9,6 +9,8 @@ Tea.context(function () {
// 初始化
if (this.protocol == "http") {
this.address = "80"
} else if (this.protocol == "https") {
this.address = "443"
}
if (window.parent.UPDATING_ADDR != null) {
@@ -29,6 +31,7 @@ Tea.context(function () {
break
case "https":
this.address = "443"
break
}
}