界面优化

This commit is contained in:
GoEdgeLab
2021-01-14 16:35:25 +08:00
parent 7925b90016
commit 53b14a2d33
8 changed files with 121 additions and 30 deletions

View File

@@ -75,6 +75,19 @@ func (this *ServerHelper) createLeftMenu(action *actions.ActionObject) {
return
}
// 协议簇
family := ""
if serverConfig.IsHTTP() {
family = "http"
} else if serverConfig.IsTCP() {
family = "tcp"
} else if serverConfig.IsUnix() {
family = "unix"
} else if serverConfig.IsUDP() {
family = "udp"
}
action.Data["serverFamily"] = family
// TABBAR
selectedTabbar, _ := action.Data["mainTab"]
tabbar := actionutils.NewTabbar()