|
@@ -195,7 +195,7 @@ func (this *PptV2Controller) AddPpt() {
|
|
|
}
|
|
|
msg = "新增成功"
|
|
|
|
|
|
- excelReferences := make([]*excel.ReferencedExcelConfig, len(req.ExcelReferences))
|
|
|
+ excelReferences := make([]*excel.ReferencedExcelConfig, 0)
|
|
|
for _, r := range req.ExcelReferences {
|
|
|
refItem := excel.ReferencedExcelConfig{
|
|
|
UniqueCode: r.UniqueCode,
|