wxs Number对象不存在?
<wxs module=‘formatMoney’>
function getInt(a) {
return Number.parseInt(a)
}
module.exports={
getInt:getInt
}
</wxs>
错误提示:
Number.parseInt is not a function
TypeError: Number.parseInt is not a function