diff --git a/frontend/src/components/business/ms-common-script/insertCommonScript.vue b/frontend/src/components/business/ms-common-script/insertCommonScript.vue index e8d7012190..52d7dcf2d3 100644 --- a/frontend/src/components/business/ms-common-script/insertCommonScript.vue +++ b/frontend/src/components/business/ms-common-script/insertCommonScript.vue @@ -21,7 +21,7 @@ 0 ? restNum : ''}`; case RequestComposition.PRECONDITION: - return `${requestVModel.value.children[0].preProcessorConfig.processors.length || ''}`; + return `${ + requestVModel.value.children[0].preProcessorConfig.processors.length > 99 + ? '99+' + : requestVModel.value.children[0].preProcessorConfig.processors.length || '' + }`; case RequestComposition.POST_CONDITION: - return `${requestVModel.value.children[0].postProcessorConfig.processors.length || ''}`; + return `${ + requestVModel.value.children[0].postProcessorConfig.processors.length > 99 + ? '99+' + : requestVModel.value.children[0].postProcessorConfig.processors.length || '' + }`; case RequestComposition.ASSERTION: - return `${requestVModel.value.children[0].assertionConfig.assertions.length || ''}`; + return `${ + requestVModel.value.children[0].assertionConfig.assertions.length > 99 + ? '99+' + : requestVModel.value.children[0].assertionConfig.assertions.length || '' + }`; case RequestComposition.AUTH: return requestVModel.value.authConfig.authType !== RequestAuthType.NONE ? '1' : ''; default: