fix(测试跟踪): 调整浏览器窗口比例编辑功能用例步骤文本框拉长
This commit is contained in:
parent
9282ae0ad6
commit
e4c64f39b3
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue