This commit is contained in:
Liang Ding 2014-09-12 11:35:53 +08:00
parent 64c4863c2d
commit 7504dae463
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ func GetFiles(w http.ResponseWriter, r *http.Request) {
fio, _ := os.Lstat(apiPath)
if fio.IsDir() {
apiNode.Type = "d"
// TOOD: Go API 用另外的样式
apiNode.IconSkin = "ico-ztree-dir "
walk(apiPath, &apiNode)