fix(测试跟踪): 调整浏览器窗口比例编辑功能用例步骤文本框拉长

This commit is contained in:
chenjianxing 2022-07-25 17:12:17 +08:00 committed by jianxing
parent 9282ae0ad6
commit e4c64f39b3
1 changed files with 1 additions and 1 deletions

View File

@ -568,7 +568,7 @@ function _resizeTextarea(i, size, textareaList) {
let maxHeight = 0; let maxHeight = 0;
for (let j = 0; j < size; j++) { for (let j = 0; j < size; j++) {
let cur = textareaList[i + j]; let cur = textareaList[i + j];
let curHeight = Number.parseInt(calcTextareaHeight(cur).height.replace(/[^\d]/g, '')); let curHeight = parseFloat(calcTextareaHeight(cur).height);
maxHeight = Math.max(curHeight, maxHeight); maxHeight = Math.max(curHeight, maxHeight);
} }