上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页
摘要: (new Date()).valueOf()1541569364658(new Date()).getTime()1541569372623Number(new Date())1541569386622 // 2019年1月23日补充 *除以1000得到的是Unix时间戳 阅读全文
posted @ 2018-11-07 13:43 正举 阅读(230) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_36688143/article/details/81287535 taskData: { handler(v) { // watch 方法其实默认写的就是这个handler console.log(v); }, immediate: true, / 阅读全文
posted @ 2018-11-01 12:03 正举 阅读(457) 评论(0) 推荐(0)
摘要: 因工作需要,工程环境切换到mac,mac上git更新代码一般使用SourceTree,但会涉及到一个问题,就是在windows上用puttygen.exe生成的key能不能直接在mac上使用呢?答案是肯定的。 方法如下: 1、在windows上使用运行puttygen.exe ->conversio 阅读全文
posted @ 2018-10-16 09:15 正举 阅读(233) 评论(0) 推荐(0)
摘要: var format = function (time, format) { var t = new Date(time); var tf = function (i) { return (i < 10 ? '0' : '') + i }; return format.replace(/yyyy|M 阅读全文
posted @ 2018-09-30 09:31 正举 阅读(557) 评论(0) 推荐(0)
摘要: Document (顶赞) (喜欢) (哈哈) ... 阅读全文
posted @ 2018-09-28 21:01 正举 阅读(256) 评论(0) 推荐(0)
摘要: Vue2.0+组件库总结 UI组件 element - 饿了么出品的Vue2的web UI工具套件 Vux - 基于Vue和WeUI的组件库 mint-ui - Vue 2的移动UI元素 iview - 基于 Vuejs 的开源 UI 组件库 Keen-UI - 轻量级的基本UI组件合集 vue-m 阅读全文
posted @ 2018-09-21 14:25 正举 阅读(1104) 评论(0) 推荐(0)
摘要: 在代码顶部添加一行注释 ESLint 在校验的时候就会跳过后面的代码 还可以在注释后加入详细规则,这样就能避开指定的校验规则了 以下是摘抄的详细内容 <!-- flowchart 箭头图标 勿删 --> 1.安装 1.1本地安装(运用到此项目) $ npm install eslint --save 阅读全文
posted @ 2018-09-20 10:44 正举 阅读(6006) 评论(0) 推荐(0)
摘要: 除IE外都可识别 所有的IE可识别 仅IE6可识别 IE6以及IE6以下版本可识别 IE6以及IE6以上版本可识别 仅IE7可识别 IE7以及IE7以下版本可识别 IE7以及IE7以上版本可识别 仅IE8可识别 仅IE9可识别 项目范例说明 ! [if !IE] The NOT operator. This is placed i... 阅读全文
posted @ 2018-09-18 14:19 正举 阅读(197) 评论(0) 推荐(0)
摘要: var r = /^((([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6}\;))*(([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})))$/ var str = 'xxxx@126.com;123234234@qq.c 阅读全文
posted @ 2018-09-17 18:05 正举 阅读(2204) 评论(1) 推荐(1)
摘要: 解决办法,我使用https://cdn.bootcss.com/es6-promise/4.1.1/es6-promise.auto.min.js直接引入在html中,也可以安装相应的babel-polyfill 阅读全文
posted @ 2018-09-13 19:47 正举 阅读(841) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页