摘要: 阅读全文
posted @ 2023-03-01 16:23 前端导师歌谣 阅读(17) 评论(0) 推荐(0)
摘要: const rowSelection = { type: "checkbox", selectedRowKeys, onChange: onSelectChange, columnTitle: <Checkbox checked={checkboxed} onChange={selectAll}> 阅读全文
posted @ 2023-03-01 16:22 前端导师歌谣 阅读(41) 评论(0) 推荐(0)
摘要: 表单取消自动填充效果 autoComplete="off" <Form form={form} name="basic" labelCol={{ span: 5 }} initialValues={{ remember: true }} onFinish={onFinish} onFinishFai 阅读全文
posted @ 2023-03-01 16:22 前端导师歌谣 阅读(22) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-03-01 16:22 前端导师歌谣 阅读(18) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-03-01 16:22 前端导师歌谣 阅读(12) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-03-01 16:21 前端导师歌谣 阅读(12) 评论(0) 推荐(0)
摘要: 当前文件引入import { useTranslation } from "react-i18next"; const { t } = useTranslation(); <Form.Item className="login-btn"> <Button onClick={() => { form. 阅读全文
posted @ 2023-03-01 16:21 前端导师歌谣 阅读(55) 评论(0) 推荐(0)
摘要: qiandu首先可以自定义配置 文件1 config.ts import i18n from 'i18next'; import { initReactI18next } from 'react-i18next'; import translation_en from './en.json'; im 阅读全文
posted @ 2023-02-28 09:49 前端导师歌谣 阅读(130) 评论(0) 推荐(0)
摘要: 表单验证错误时候的回调事件 const onFinishFailed = (errorInfo: any) => { console.log("Failed:", errorInfo); }; 阅读全文
posted @ 2023-02-28 09:48 前端导师歌谣 阅读(30) 评论(0) 推荐(0)
摘要: <Input placeholder="用户名:admin / user" prefix={<UserOutlined />} /> 阅读全文
posted @ 2023-02-28 09:47 前端导师歌谣 阅读(29) 评论(0) 推荐(0)