摘要:
对于系统提升的一些小细节:(包括平时的成长) 1,创建集合,如果已知具体长度,就写下具体,因为默认数组创建10个长度,多了的话非常消耗内存空间; 2,try-catch:整个项目运行下来,只用一个try-catch捕获,在preHandler,afterHandler处理,其他情况全部是用返回类型来 阅读全文
摘要:
type为number的input标签输入小数的方法 方法如下: 方法如下: <input type="number" step="0.01" /> 在input标签中添加step属性,此例子中将step设为”0.01”,即可以输入含两位小数的数字。(仅输入含一位小数或整数也可) 可以自行修改ste 阅读全文