摘要:
echarts的学习 1.echarts的全解注释。https://www.2cto.com/kf/201708/665624.html ### 2.从echarts3开始学习echarts源码。https://blog.csdn.net/future_todo/article/details/60 阅读全文
摘要:
w3c比较全面的api http://www.w3school.com.cn/tags/html_ref_canvas.asp 一个总结比较全面的网站 http://blog.csdn.net/qq_33495993/article/details/50524642 效果集合 http://www. 阅读全文
摘要:
1.async 的返回值一定是一个promise。,即使你的函数里没有return. 2.因为有了await的限制,所以这里的async加不加都一样。 3. 例子3 var fs = require('fs'); async function asyncPrint() { await new Pro 阅读全文
摘要:
最后执行结果只打印bbb,而aaa不会打印。 解决方案:用js的自定义事件。或者jquery的$(window).on('click')来解决。 问题二:onresize注册的事件怎么销毁。 jquery的$(window).off('click',funtionName) 还有另外一种解决方式。 阅读全文
摘要:
博客1: https://segmentfault.com/a/1190000011481099 express中的异常处理:https://blog.fundebug.com/2017/12/06/handle-express-error/#more 一个超级不错的博客: http://blog. 阅读全文
摘要:
npm的版本 ~与^的区别。http://blog.csdn.net/u014291497/article/details/70148468 https://www.cnblogs.com/PeunZhang/p/5553574.html npm的安装和卸载npm initnpm init -y 表 阅读全文
摘要:
module.exports = { root: true, parser: 'babel-eslint', parserOptions: { sourceType: 'module' }, // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style extends: '... 阅读全文
摘要:
1.如果有模态框的时候注意,样式方便要注意宽度随屏幕大小的变化,逻辑方面,模态框关闭的时候,在显示出来的时候模态框要重置。 2.表单提交一定要注意重复提交。 3.表单验证。注意哪些是必须填的,哪些是不必须填的,哪些需要做请前后去掉空格的处理。 4.使用trim方法前,切记判断是string. 5.在 阅读全文
摘要:
验证数字:^[0-9]*$ 验证n位的数字:^\d{n}$ 验证至少n位数字:^\d{n,}$ 验证m-n位的数字:^\d{m,n}$ 验证零和非零开头的数字:^(0|[1-9][0-9]*)$ 验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$ 验证有1-3位小数的正实数:^[0-9 阅读全文
摘要:
.detail position: fixed z-index: 100 top: 0 left: 0 width: 100% height: 100% overflow: auto .detail-wrapper width: 100% min-height: 100... 阅读全文