From da6bb6d0bb147ad9760c057668ea080b9973c960 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Sat, 22 May 2021 14:33:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=A5=E5=91=8A=E5=90=8D=E7=9A=84=E9=95=BF?= =?UTF-8?q?=E5=BA=A6=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../performance/report/PerformanceTestReportList.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/business/components/performance/report/PerformanceTestReportList.vue b/frontend/src/business/components/performance/report/PerformanceTestReportList.vue index 3786af6288..2028ecf08c 100644 --- a/frontend/src/business/components/performance/report/PerformanceTestReportList.vue +++ b/frontend/src/business/components/performance/report/PerformanceTestReportList.vue @@ -278,6 +278,11 @@ export default { confirmButtonText: this.$t('commons.confirm'), cancelButtonText: this.$t('commons.cancel'), inputValue: report.name, + inputValidator: function (value) { + if (value.length > 63) { + return false; + } + } }).then(({value}) => { this.$post('/performance/report/rename', {id: report.id, name: value}, response => { this.initTableData();