Sfoglia il codice sorgente

fix:管理规则列表

zqbao 3 mesi fa
parent
commit
4b3fa56a06
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      services/data/excel/excel_info.go

+ 5 - 0
services/data/excel/excel_info.go

@@ -980,6 +980,11 @@ func GetExcelRuleList(excelInfoId int) (resp *response.ExcelRuleListResp, err er
 	if err != nil {
 		return
 	}
+	for _, v := range excelInfoList {
+		v.BackgroundColor = strings.TrimSpace(v.BackgroundColor)
+		v.FontColor = strings.TrimSpace(v.FontColor)
+		resp.List = append(resp.List, v)
+	}
 	resp.List = excelInfoList
 	return
 }