Sfoglia il codice sorgente

fix:ppt转报告bug修复

Roc 7 mesi fa
parent
commit
7fcfcccd05
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      services/ppt.go

+ 1 - 1
services/ppt.go

@@ -107,7 +107,7 @@ func SavePPTReport(pptId, classifyId int, title string, adminInfo *system.Admin)
 		return
 	}
 	twoClassify, hasTwo = classifyMap[baseClassify.ParentId]
-	if ok {
+	if hasTwo {
 		threeClassify, hasThird = classifyMap[twoClassify.ParentId]
 	}