![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
React
DuebassLei
纵有疾风起,人生不言弃 blog.gaosanshi.top
展开
-
React之Antd组件
React之Antd组件Modal对话框Modal.method()动态设置确认框和提示框 handleConfirm = (type)=>{ Modal[type]({ title:'确认?', content:'你确定你学会了React了吗?', onOk(){ console.log('Ok') }, onCancel原创 2020-10-26 12:52:49 · 2517 阅读 · 0 评论 -
React之Antd,Less配置自定义主题色
React 之配置Antd按需加载,less定制主题色搭建React环境,创建入门demo,并配置Antd按需加载及使用less,自定义主题色安装Reactyarn global add create-react-app#或npm install -g create-react-app 创建应用react-studycreate-react-app react-study基础配置安装常用依赖yarn add react-router-dom axios less-loader l原创 2020-10-19 21:15:58 · 2558 阅读 · 1 评论