📅  最后修改于: 2022-03-11 15:02:04.485000             🧑  作者: Mango
$('#leave-reason-input').keyup(function() {
var height = $(this).scrollTop();
var initHeight = 5;
if(initHeight < height ) {
$(this).css({'height':'8rem'});
}
})