摘要: 1, h5标签小写<span></span>,自定义组件标签大小<Header></Header> 2, 捆绑方法用驼峰发onClick ={this.fun.bind(this, index)} 3, <label htmlFor = '' {this.state.list.map((item,i 阅读全文
posted @ 2019-07-26 15:42 qinhuansky 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 问题:试题页面,通过获取提交任务客户端时间戳 - 试题显示任务时间戳 = 用户有效作业时间,对于用户修改本机时间。会导致无效作业时间 方案1:通过jQuery获取服务端时间来计算差值 方案2:如果要求到毫秒 通过定时器中显示试题加到提交试题 之所以以5ms 为单位计算。因为了一毫秒 +1 ,十秒只能 阅读全文
posted @ 2019-07-26 15:06 qinhuansky 阅读(414) 评论(0) 推荐(0) 编辑