Roc 2 months ago
parent
commit
47fad8d76d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/ppt.go

+ 1 - 1
services/ppt.go

@@ -247,7 +247,7 @@ func pptContent2Html(content string, isEnglish bool) (htm string, err error) {
 					}
 					htmlContent += fmt.Sprintf(`<iframe src="%s/chartshow?code=%s&uid=%s" width="100%%" height="350" style="border-width:0px; min-height:350px;" class="iframe%s"></iframe>`, chartRoot, v.ChartId, v.Uid, v.Uid)
 				case ElementsTypeSheet:
-					htmlContent += fmt.Sprintf(`<iframe src="%s/sheetshow?code=%s&uid=%s" class="iframe%s" width="100%%" height="%s" style="border-width:0px;" class="iframe%s"></iframe>`, chartRoot, v.SheetId, v.Uid, v.SheetId, v.SheetHeight, v.Uid)
+					htmlContent += fmt.Sprintf(`<iframe src="%s/sheetshow?code=%s&uid=%s" class="iframe%s" width="100%%" height="%s" style="border-width:0px;"></iframe>`, chartRoot, v.SheetId, v.Uid, v.Uid, v.SheetHeight)
 				}
 				htmlContent += htmlSuffix
 			}