界面优化

This commit is contained in:
刘祥超
2021-01-14 16:35:25 +08:00
parent 02fbc0de94
commit 519956624e
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()