Skip to content

Commit 792907e

Browse files
author
lixueping
committed
添加基于Struct的JSON创建
1 parent 1b23c14 commit 792907e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/createhtml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func Parse(data *model.Nestable) string {
7272
//将一个group的数据加入整体数据
7373
tmp = append(tmp,list_one...)
7474
}
75-
fmt.Println(menu+strings.Join(tmp,"\n"))
75+
//fmt.Println(menu+strings.Join(tmp,"\n"))
7676
//第一层加OL 闭合
7777
return "<ol class=\"dd-list\">"+menu+strings.Join(tmp,"")+"</ol>"
7878
}

0 commit comments

Comments
 (0)