Fork me on GitHub

07 2022 档案

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

点击右上角即可分享
微信分享提示