function setHeight(that) {
var _this = that[0];
_this.style.height = "";
_this.style.height = _this.scrollHeight + "px";
}
转载于:https://www.cnblogs.com/sunnie-cc/p/7001768.html
function setHeight(that) {
var _this = that[0];
_this.style.height = "";
_this.style.height = _this.scrollHeight + "px";
}
转载于:https://www.cnblogs.com/sunnie-cc/p/7001768.html