fix(性能测试): 修改报告名的长度限制

This commit is contained in:
Captain.B 2021-05-22 14:33:19 +08:00 committed by 刘瑞斌
parent ebf704b4f3
commit da6bb6d0bb
1 changed files with 5 additions and 0 deletions

View File

@ -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();