fix(home): 首页业务入口默认展示,避免回收与反馈按钮被总开关隐藏

This commit is contained in:
yml2213
2026-10-29 11:34:39 +08:00
parent a04b1377cd
commit e57c9df6f4
4 changed files with 12 additions and 5 deletions
@@ -2,6 +2,12 @@ package systemconfig
import "testing"
func TestDefaultHomeEntriesEnabled(t *testing.T) {
if got := defaultHomeEntriesEnabledConfigValue(); got != "true" {
t.Fatalf("默认首页业务入口开关 = %q, want true", got)
}
}
func TestParseHomeEntriesEnabled(t *testing.T) {
cases := []struct {
value string