将字符串转换为整数--在处理-保留任意小数

this.height = parseInt(this.peopledatails.height).toFixed(1)
posted @ 2019-10-22 14:28  小白咚  阅读(973)  评论(0)    收藏  举报