js限制显示字数
function limitWords(txt){var str = txt;str = str.substr(0,200) + '...';return str;}復(fù)制代碼
總結(jié)
- 上一篇: app缓存策略探索
- 下一篇: CentOS7 0安装Maven