07 2022 档案
摘要:antd的DatePicker组件fuzhishi 需要使用moment,否则会报错,moment依赖自行安装 初始化赋值: const getDetails = () => { form.resetFields() let initialValues = {} result.data.inputO
阅读全文
摘要:window.location.reload("#id") window.location.reload(".page_box--RXbn9")
阅读全文
摘要:rowClassName 可以允许我们为 table 的某一行添加样式,它的 record 返回的是一个对象 <div className={`${styles.editable} myTableClass`}> <Table components={components} rowClassName
阅读全文
摘要:.test_table td:first-child { font-weight: bold; } .test_table th { font-weight: bold; } <div className={styles.test_table} > <Table columns={[...partI
阅读全文
摘要:1 import "./styles.css"; 2 import { useRef } from "react"; 3 4 export default function App() { 5 const firstDivRef = useRef(); 6 const secondDivRef =
阅读全文
摘要:1 <div className={styles.test_table} onScrollCapture={this.handleScrollTable} ref={this.table}> 2 <Table 4 columns={[...partInfoHeader]} 5 dataSource=
阅读全文