Skip to content

Commit

Permalink
Fix: version differencec
Browse files Browse the repository at this point in the history
  • Loading branch information
cg33 committed Sep 17, 2019
1 parent e9d8cf1 commit b992abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/admin/controller/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@ func Export(ctx *context.Context) {
}

for key, head := range panelInfo.Thead {
_ = f.SetCellValue(tableName, orders[key]+"1", head["head"])
f.SetCellValue(tableName, orders[key]+"1", head["head"])
}

count := 2
for _, info := range panelInfo.InfoList {
for key, head := range panelInfo.Thead {
_ = f.SetCellValue(tableName, orders[key]+strconv.Itoa(count), info[head["head"]])
f.SetCellValue(tableName, orders[key]+strconv.Itoa(count), info[head["head"]])
}
count++
}
Expand Down

0 comments on commit b992abd

Please sign in to comment.