From 0f25043d8cf7678c6a421168e3abdaf246efa3a9 Mon Sep 17 00:00:00 2001 From: guocan Date: Mon, 16 Jun 2025 15:04:04 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=8E=8B=E5=8A=9B=E6=B5=8B=E8=AF=95bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-ui/src/views/test/performance/performance.vue | 5 ++++- test-ui/src/views/test/performance/performanceAdd.vue | 2 +- test-ui/src/views/test/performance/performanceEdit.vue | 2 +- test-ui/src/views/test/uiTest/automationTest.vue | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/test-ui/src/views/test/performance/performance.vue b/test-ui/src/views/test/performance/performance.vue index 5b01972..3e83905 100644 --- a/test-ui/src/views/test/performance/performance.vue +++ b/test-ui/src/views/test/performance/performance.vue @@ -57,6 +57,9 @@ export default { mounted() { this.getPerformaceData() }, + activated() { + this.getPerformaceData() + }, methods: { // 创建测试 addTest() { @@ -68,7 +71,7 @@ export default { }, // 编辑 hadleClickEdit(val) { - this.$tab.openPage("修改测试", "/performance/edit", { id: val.id }); + this.$tab.openPage(`修改测试_${val.id}`, `/performance/edit/${val.id}`, { id: val.id }); }, // 删除 hadleClickDelete(val) { diff --git a/test-ui/src/views/test/performance/performanceAdd.vue b/test-ui/src/views/test/performance/performanceAdd.vue index e5dc863..0597f2c 100644 --- a/test-ui/src/views/test/performance/performanceAdd.vue +++ b/test-ui/src/views/test/performance/performanceAdd.vue @@ -44,7 +44,7 @@
-
速兑通接口
+
{{ addForm.performanceName }}
并发用户数{{ addForm.concurrentThreads }},压测时长{{ addForm.pressureHour }}时{{ addForm.pressureMinute }}分{{ addForm.pressureSecond }}秒
diff --git a/test-ui/src/views/test/performance/performanceEdit.vue b/test-ui/src/views/test/performance/performanceEdit.vue index 8c3c9a2..e487854 100644 --- a/test-ui/src/views/test/performance/performanceEdit.vue +++ b/test-ui/src/views/test/performance/performanceEdit.vue @@ -45,7 +45,7 @@
-
速兑通接口
+
{{ addForm.performanceName }}
并发用户数{{ addForm.concurrentThreads }},压测时长{{ addForm.pressureHour }}时{{ addForm.pressureMinute }}分{{ addForm.pressureSecond }}秒
diff --git a/test-ui/src/views/test/uiTest/automationTest.vue b/test-ui/src/views/test/uiTest/automationTest.vue index 2257a11..f6861b6 100644 --- a/test-ui/src/views/test/uiTest/automationTest.vue +++ b/test-ui/src/views/test/uiTest/automationTest.vue @@ -131,7 +131,7 @@ export default { // 编辑 hadleClickEdit(val) { this.isFromEdit = true; // 标记即将进入编辑页面 - this.$tab.openPage("编辑场景", "/ui-test/automation/edit", { id: val.id }); + this.$tab.openPage(`编辑场景_${val.id}`, `/ui-test/automation/edit/${val.id}`, { id: val.id }); }, // 删除 hadleClickDelete(val) {