diff --git a/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java b/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java index 580db9be99..f6c4da4058 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java @@ -2273,10 +2273,10 @@ public class TestCaseService { public TestCase edit(EditTestCaseRequest request) { TestCaseWithBLOBs testCaseWithBLOBs = testCaseMapper.selectByPrimaryKey(request.getId()); - request.setNum(testCaseWithBLOBs.getNum()); if (testCaseWithBLOBs == null) { MSException.throwException(Translator.get("edit_load_test_not_found") + request.getId()); } + request.setNum(testCaseWithBLOBs.getNum()); this.setNode(request); return editTestCase(request); } diff --git a/test-track/frontend/src/business/case/components/TestCaseEdit.vue b/test-track/frontend/src/business/case/components/TestCaseEdit.vue index 2cdf8d475d..3452b4326b 100644 --- a/test-track/frontend/src/business/case/components/TestCaseEdit.vue +++ b/test-track/frontend/src/business/case/components/TestCaseEdit.vue @@ -1249,6 +1249,7 @@ export default { this.routerToEdit(response.data.id); this.form.num = response.data.num; this.form.customNum = response.data.customNum; + setTimeout(() => this.initEdit(), 500); } } this.createVersionId = null; diff --git a/test-track/frontend/src/business/case/components/import/TestCaseCommonImportNew.vue b/test-track/frontend/src/business/case/components/import/TestCaseCommonImportNew.vue index 7090edebe9..de238abaff 100644 --- a/test-track/frontend/src/business/case/components/import/TestCaseCommonImportNew.vue +++ b/test-track/frontend/src/business/case/components/import/TestCaseCommonImportNew.vue @@ -304,6 +304,7 @@ export default { flex: none; order: 0; flex-grow: 0; + border-radius: 4px; } .download-tips-content {