diff --git a/api-test/frontend/src/business/automation/ApiAutomation.vue b/api-test/frontend/src/business/automation/ApiAutomation.vue index 81fd357556..f94be4d6e3 100644 --- a/api-test/frontend/src/business/automation/ApiAutomation.vue +++ b/api-test/frontend/src/business/automation/ApiAutomation.vue @@ -372,10 +372,10 @@ export default { } }, _getCurrentUserId() { - const {id, userGroups} = getCurrentUser(); + const { id, userGroups } = getCurrentUser(); if (userGroups) { // 是否是当前项目下的成员 - let index = userGroups.findIndex(ug => ug.sourceId === getCurrentProjectID()); + let index = userGroups.findIndex((ug) => ug.sourceId === getCurrentProjectID()); if (index !== -1) { return id; } @@ -786,6 +786,7 @@ export default { let automationData = this.$router.resolve({ name: 'ApiAutomationWithQuery', params: { + versionId: 'default', redirectID: getUUID(), dataType: 'scenario', dataSelectRange: 'edit:' + resource.id, diff --git a/api-test/frontend/src/business/automation/scenario/component/ApiScenarioComponent.vue b/api-test/frontend/src/business/automation/scenario/component/ApiScenarioComponent.vue index 6354db91b0..3692692678 100644 --- a/api-test/frontend/src/business/automation/scenario/component/ApiScenarioComponent.vue +++ b/api-test/frontend/src/business/automation/scenario/component/ApiScenarioComponent.vue @@ -355,6 +355,7 @@ export default { let automationData = this.$router.resolve({ name: 'ApiAutomationWithQuery', params: { + versionId: 'default', redirectID: getUUID(), dataType: 'scenario', dataSelectRange: 'edit:' + resource.id, diff --git a/api-test/frontend/src/business/automation/scenario/component/LoopController.vue b/api-test/frontend/src/business/automation/scenario/component/LoopController.vue index 2915c2a5c0..baff3dc6be 100644 --- a/api-test/frontend/src/business/automation/scenario/component/LoopController.vue +++ b/api-test/frontend/src/business/automation/scenario/component/LoopController.vue @@ -84,7 +84,7 @@ v-model="controller.countController.interval" :disabled="controller.disabled" :placeholder="$t('commons.millisecond')" - :max="1000 * 10000000" + :max="1000 * 1000000" :min="0" :step="1000" size="small" /> @@ -129,7 +129,7 @@ :disabled="controller.disabled" size="small" :placeholder="$t('commons.millisecond')" - :max="1000 * 10000000" + :max="1000 * 1000000" :min="0" :step="1000" /> ms @@ -165,12 +165,11 @@ :disabled="controller.disabled" size="small" :placeholder="$t('commons.millisecond')" - :max="1000 * 10000000" + :max="1000 * 1000000" :min="3000" :step="1000" /> ms -