diff --git a/backend/framework/sdk/src/main/resources/i18n/case_zh_CN.properties b/backend/framework/sdk/src/main/resources/i18n/case_zh_CN.properties index 775001fd74..3384686f54 100644 --- a/backend/framework/sdk/src/main/resources/i18n/case_zh_CN.properties +++ b/backend/framework/sdk/src/main/resources/i18n/case_zh_CN.properties @@ -265,7 +265,7 @@ xmind_description=备注 xmind_tags=标签 xmind_textDescription=文本描述 xmind_expectedResult=预期结果 -xmind_step=用例步骤 +xmind_step=步骤 xmind_stepDescription=步骤描述 # case export columns case.export.system.columns.name=用例名称 diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/excel/handler/FunctionCaseTemplateWriteHandler.java b/backend/services/case-management/src/main/java/io/metersphere/functional/excel/handler/FunctionCaseTemplateWriteHandler.java index 876f56b22c..30745ba56a 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/excel/handler/FunctionCaseTemplateWriteHandler.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/excel/handler/FunctionCaseTemplateWriteHandler.java @@ -128,7 +128,7 @@ public class FunctionCaseTemplateWriteHandler implements RowWriteHandler { } Comment comment = drawingPatriarch.createCellComment(new XSSFClientAnchor(0, 0, 0, 0, index, 0, index + 3, 1)); comment.setString(new XSSFRichTextString(text)); - sheet.getRow(0).getCell(1).setCellComment(comment); + sheet.getRow(0).getCell(0).setCellComment(comment); } public static HorizontalCellStyleStrategy getHorizontalWrapStrategy() {