全局美化 v3
This commit is contained in:
@@ -222,7 +222,7 @@ func TestRenderUserProfileTabs(t *testing.T) {
|
||||
}
|
||||
|
||||
// 逐个面板渲染:模板能正常执行,且只有目标面板可见、其余面板带 hidden
|
||||
all := []string{"account", "question", "chat", "vote"}
|
||||
all := []string{"account", "question", "chat", "vote", "security"}
|
||||
for _, tab := range all {
|
||||
base["ActiveProfileTab"] = tab
|
||||
out, err := renderToString(t, "user/profile", base)
|
||||
|
||||
Reference in New Issue
Block a user