- 博客(2)
- 资源 (11)
- 收藏
- 关注
原创 click事件无法触发解决方案
方法: 这里使用了jq所以直接用了,大家可以改成原生写法/** * 将touch事件改为点击事件 * @param {[string]} dom [css选择器] * @param {[bool]} derect [方向 x为false,y方向为true] * @param {Function} callback [要执行的函数] * @retur...
2019-05-31 17:08:25 3569 1
原创 es6 proxy的一些应用
1、校验:let validator = { set: function(obj, prop, value) { if (prop === 'age') { if (!Number.isInteger(value)) { throw new TypeError('The age is not an integer'); } if...
2019-05-24 15:19:21 503
vue-cli3.0配置demo更新
2018-07-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人