摘要: // bug fix:指定输入类型为number时仍然可以输入字母'e'和小数点'.'(因为也属于数字类型的范围),这里做一下输入限制 channelInputLimit (e) { let key = e.key // 不允许输入'e'和'.' if (key === 'e' || key === '.') { e.returnValue = false ... 阅读全文
posted @ 2019-10-28 09:04 寅春树 阅读(7251) 评论(0) 推荐(0) 编辑