摘要: <style> ::-ms-clear, ::-ms-reveal{display: none;} </style> 阅读全文
posted @ 2019-03-19 14:54 水迹仙涯 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 现在拿到一串数字日期,如:1398250549490,先用new Date(1398250549490)转换成标准格式,再使用getFullYear()、getMonth()等进行转换 阅读全文
posted @ 2019-03-19 10:43 水迹仙涯 阅读(5294) 评论(0) 推荐(0) 编辑
摘要: 在使用之前进行判断就吧问题解决了 if (Object.prototype.toString.call(time) '[object Date]') { time.getMonth()........ } 阅读全文
posted @ 2019-03-19 10:40 水迹仙涯 阅读(4282) 评论(0) 推荐(0) 编辑
摘要: 先定义,再引用,完美解决问题 let form: any = this.$refs.form form.validate((valid: Boolean) => {}) 阅读全文
posted @ 2019-03-19 09:34 水迹仙涯 阅读(4067) 评论(0) 推荐(0) 编辑