fix(接口定义): 校验调整
This commit is contained in:
parent
1ad6aefc7d
commit
388d9850a2
|
@ -35,7 +35,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<!-- 请求地址 -->
|
<!-- 请求地址 -->
|
||||||
<el-form-item prop="url">
|
<el-form-item prop="path">
|
||||||
<el-input :placeholder="$t('api_test.definition.request.path_info')" v-model="api.request.path" class="ms-htt-width"
|
<el-input :placeholder="$t('api_test.definition.request.path_info')" v-model="api.request.path" class="ms-htt-width"
|
||||||
size="small" :disabled="false"/>
|
size="small" :disabled="false"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
environments: [],
|
environments: [],
|
||||||
rules: {
|
rules: {
|
||||||
method: [{required: true, message: this.$t('test_track.case.input_maintainer'), trigger: 'change'}],
|
method: [{required: true, message: this.$t('test_track.case.input_maintainer'), trigger: 'change'}],
|
||||||
url: [{required: true, message: this.$t('api_test.definition.request.path_info'), trigger: 'blur'}],
|
path: [{required: true, message: this.$t('api_test.definition.request.path_info'), trigger: 'blur'}],
|
||||||
environmentId: [{required: true, message: this.$t('api_test.definition.request.run_env'), trigger: 'change'}],
|
environmentId: [{required: true, message: this.$t('api_test.definition.request.run_env'), trigger: 'change'}],
|
||||||
},
|
},
|
||||||
runData: [],
|
runData: [],
|
||||||
|
|
Loading…
Reference in New Issue