diff --git a/api-test/frontend/src/business/definition/components/ApiVariable.vue b/api-test/frontend/src/business/definition/components/ApiVariable.vue index d031ce9bd1..5df6ed335e 100644 --- a/api-test/frontend/src/business/definition/components/ApiVariable.vue +++ b/api-test/frontend/src/business/definition/components/ApiVariable.vue @@ -430,8 +430,8 @@ export default { file: false, files: null, isEdit: false, - max: null, - min: null, + max: 0, + min: 0, required: false, type: 'text', urlEncode: this.urlEncode, @@ -534,8 +534,8 @@ export default { file: false, files: null, isEdit: false, - max: null, - min: null, + max: 0, + min: 0, required: false, type: 'text', urlEncode: this.urlEncode, diff --git a/api-test/frontend/src/business/definition/model/ApiTestModel.js b/api-test/frontend/src/business/definition/model/ApiTestModel.js index 11c9f26762..454c7bf274 100644 --- a/api-test/frontend/src/business/definition/model/ApiTestModel.js +++ b/api-test/frontend/src/business/definition/model/ApiTestModel.js @@ -787,6 +787,8 @@ export class KeyValue extends BaseConfig { this.enable = undefined; this.uuid = undefined; this.time = undefined; + this.max = 0; + this.min = 0; this.contentType = undefined; this.set(options); }