diff --git a/console/atest-ui/src/views/TestSuite.vue b/console/atest-ui/src/views/TestSuite.vue index a863b01e..a80acbda 100644 --- a/console/atest-ui/src/views/TestSuite.vue +++ b/console/atest-ui/src/views/TestSuite.vue @@ -103,9 +103,10 @@ const testcaseFormRef = ref() const testCaseForm = reactive({ suiteName: '', name: '', - api: '', - method: 'GET', - request: {} + request: { + api: '', + method: 'GET' + } }) const rules = reactive>({ name: [{ required: true, message: 'Please input TestCase name', trigger: 'blur' }] @@ -380,7 +381,7 @@ const targetSuiteDuplicateName = ref('') v-if="suite.spec.kind !== 'tRPC' && suite.spec.kind !== 'gRPC'" >