随笔分类 - 代码
工作中使用过的代码
摘要:.nodeConfig{ table { margin-top: 10px; width: 100%; // width: 98%; // margin-left: 2%; td{ font-size: 1.3rem; color: white; border-right: 0px solid wh
阅读全文
摘要:import React from 'react'; export default function EmptyRow(props) { let arr = []; for (let i = 0; i < props.length; i ++) { arr.push(i); } return ( <
阅读全文
摘要:.warningPopup .warningText { margin-bottom: 5%; color: #21fffa; } .warningPopup .closeBtn { position: absolute; width: 9%; height: 9%; right: 7px; top
阅读全文
摘要:<RangePicker inputReadOnly={"true"}
阅读全文
摘要:<div className={user.role + "" "7" ? "sectorConfig" : "sectorConfigCommon"}>
阅读全文
摘要:<tr style={{display: flagNoData 0 ? "" : "none", height: "200px", color: "white", fontSize:'1.8rem', textAlign:'center'}}> <td colSpan={9}>未查到相关数据</td
阅读全文
摘要:.charsOverflowStyle { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; margin-left: 20px; }
阅读全文
摘要:const confirmReadAll = () => { for (let i = 0; i <= list.length - 1; i++) { confirmReadOnes(list[i].alert_id); } } const confirmReadOnes = (alert_id)
阅读全文