1.JS原生函数parseInt(),返回字符串的第一个数字,默认是十进制。
2.!!data.success //强制转换成布尔类型
<!–
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Menlo; color: #f6f6ef; -webkit-text-stroke: #f6f6ef; background-color: #000080}
span.s1 {font-kerning: none; color: #f4005f; background-color: #000000; -webkit-text-stroke: 0px #f4005f}
span.s2 {font-kerning: none; color: #fa841a; background-color: #000000; -webkit-text-stroke: 0px #fa841a}
span.s3 {font-kerning: none; background-color: #000000}
span.s4 {font-kerning: none}
span.s5 {font: 16.0px ‘PingFang SC’; font-kerning: none}
span.s6 {font: 16.0px ‘Songti SC’; font-kerning: none}
–>