默认展示多少行,多了显示那个按钮(JS)

197 阅读1分钟

利用 :行数=文本高度 / 行高;(公式);

行高:line-height

文本高度:offsetHeight

具体详见:

blog.csdn.net/weixin_4499…