🦍 记录 - 将对象里的所有值转为Number

做前端项目时,经常会碰到后端的返回值类型不定
比如:有时返回 Number 的 1,有时返回 String 的 ‘1’
会导致类型检查严格时的 bug