检测数字 1.引入 var { isNum } = require('wx-tool') 2.参数 属性 类型 默认值 必填 说明 s string 是 所选数字 3.使用 isNum('1') // true isNum('19') // true isNum('d') // false