摘要:
display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; -webkit-line-clamp: 2; -webkit 阅读全文
摘要:
// 赋值 var obj2 = obj1; obj2 .name = 'aa'; 这种情况同同时会改变obj1的值; // Object.assign 是浅拷贝 var obj2 = Object.assign({}, obj1); obj2 .name = 'aa'; 这种情况不会改变obj1的 阅读全文
摘要:
let staytimeGap = new Date(closedtime).getTime() - new Date(createtime).getTime(); let stayHour = Math.floor(staytimeGap / (3600 * 1000)); let leave1 阅读全文